|
Posted by Spartanicus on September 6, 2005, 11:23 pm
Please log in for more thread options
The document at http://homepage.ntlworld.com/spartanicus/custom_dtd.htm uses a custom DTD, the w3c validator validates it but with this warning:
"Unknown Parse Mode!
The MIME Media Type (text/html) for this document is used to serve both
SGML and XML based documents, and it is not possible to disambiguate it
based on the DOCTYPE Declaration in your document. Parsing will continue
in SGML mode."
http://validator.w3.org/check?uri=http%3A%2F%2Fhomepage.ntlworld.com%2Fspartanicus%2Fcustom_dtd.htm
Afaics the validator should parse in 2 stages, first to retrieve the url
to the custom DTD, after which there should be no ambiguity about
parsing the document as SGML or XML, so why does the w3c validator issue
the warning?
The WDG and Page valet validators don't issue such a warning:
http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fhomepage.ntlworld.com%2Fspartanicus%2Fcustom_dtd.htm&warnings=yes http://valet.webthing.com/view=Asis/page/validate?url=http%3A%2F%2Fhomepage.ntlworld.com%2Fspartanicus%2Fcustom_dtd.htm&parser=Any&resultsMode=traditional&parseMode=web
--
Spartanicus
|