Click here to get back home

Unknown Parse Mode! warning from w3c validator with custom doctype

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Unknown Parse Mode! warning from w3c validator with custom doctype Spartanicus 09-06-2005
Get Chitika Premium
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

Similar ThreadsPosted
W3C Validator error?
is valid for doctype HTML 4.01 Strict
April 21, 2005, 12:46 pm
charset=unknown-8bit October 18, 2005, 4:33 pm
Browser behavior with unknown tags or attributes? September 28, 2006, 11:38 pm
Parse text box into url March 16, 2006, 6:31 am
How does a browser parse an html document? January 25, 2006, 9:25 am
what is the mechanism of "IE" and "Firefox 1.0" to parse HTML file January 31, 2005, 2:58 am
embedded php snippet won't parse/validate in XHTML January 1, 2007, 9:57 am
Custom meta name="xxx" October 31, 2007, 7:19 am
custom tags and elements December 5, 2006, 4:57 am
Custom Software Development May 20, 2007, 7:14 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap