Hello.
First, sorry by me english.
For a year I am making basics web pages for mobile devices. Habitually I use the following Doctype in my documents:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Not valid Page?</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
</head>
<body>
<p>Wap content</p>
</body>
</html>
That is the correct way, i’m sure.
Frequently, i process my pages Through the W3C validador to be verifying everything and the pages validate without problems (Obvious with a more extensive and complex code than them that I put to them as shows). However, for one week ago I have been being with an insoluble problem, I cant validate my page, the new pages and old pages (the old pages always validated correctly in the past).Using the Doctype and DTD that indicate above (very basic structure) the validator show this errors:
Error Line 18, Column 46: Input is not proper UTF-8, indicate encoding ! Bytes: 0x92 0x53 0x20 0x52
Error Line 69, Column 17: conditional section INCLUDE or IGNORE keyword expected
Error Line 73, Column 39: xmlParseElementDecl: ‘EMPTY’, ‘ANY’ or ‘(’ expected
Error Line 73, Column 39: Content error in the external subset
Can see you some line 18, 69 or 73 in my code? very strange
But, if that same code, it revalidated as XHTML 1.0 or XHTML 1.1, the validator say:
This document was Tentatively checked as XHTML 1.1
One Warning:
DOCTYPE Override in effect!
The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC “-//WAPFORUM//DTD XHTML Mobile 1.2//EN” "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">" has been suppressed and the DOCTYPE for “XHTML 1.1” inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.
Congratulations
Ovbiously the warning is logic,…and my Xhtml Sintax is OK.
is possible that the http://www.openmobilealliance.org/te...l-mobile12.dtd this corrupt one or is lost use of a day for the other.? May be a temporal failure in W3C validator? Im confused
Test with this link
http://vinoselfrances.com.ar/xhtml_mobil_1.2.html
Any idea?
Regards and Thanks
: