|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
||||
|
||||
|
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. |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
||||
|
||||
|
The error I get is:
Error Line 1 column 0: end of document in prolog. |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Valid Mobile Xhtml |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|