WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 12th, 2006, 06:19 AM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
Valid Mobile Xhtml

How do you declare valid xhtml? I've tried a range of formats but always get an error when I validate (http://validator.w3.org/).

This is a simple test page I have created
Code:
http://wapbay.com/test.php


The code works ok on a mobile I just want the code to be valid. I know the error is based around the header("") I just can't seem to get it to work.

Thanks for reading.

Closing topic, I had a look through the http://www.wapforum.org/DTD/xhtml-mobile10.dtd and I found the error.

Topic can go for clear up.
__________________

Last edited by G00SE : January 12th, 2006 at 07:50 AM.

Reply With Quote
  #2  
Old January 12th, 2006, 06:32 AM
BeetleJuice BeetleJuice is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 309 BeetleJuice User rank is Sergeant Major (2000 - 5000 Reputation Level)BeetleJuice User rank is Sergeant Major (2000 - 5000 Reputation Level)BeetleJuice User rank is Sergeant Major (2000 - 5000 Reputation Level)BeetleJuice User rank is Sergeant Major (2000 - 5000 Reputation Level)BeetleJuice User rank is Sergeant Major (2000 - 5000 Reputation Level)BeetleJuice User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 18 h 26 m 52 sec
Reputation Power: 36
What error do you get? Usually, the W3C validator returns relatively useful and descriptive error reports, at least in my experience.

Also, the content type should, IIRC the Content-Type should be text/xhtml instead of text/html.

Reply With Quote
  #3  
Old January 12th, 2006, 06:58 AM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
The error I get is:

Error Line 1 column 0: end of document in prolog.

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Valid Mobile Xhtml


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway