This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When the doctype declaration contains a syntax error, the XML parser fails to identify it as a doctype declaration and the mobileOK Checker reports: 1. a markup validation error for the syntax error. That is correct. 2. a "no doctype found" error. That is a bit misleading, and should probably be removed. See discussion in: http://lists.w3.org/Archives/Public/public-bpwg/2009Aug/0025.html Francois.
A "present" attribute is now added to the doctypeDecl element in the moki representation of the page under test. This attribute contains "true" when something that looks like a DOCTYPE declaration is detected in the page under test, for instance: <doctypeDecl present="true" publicID="-//W3C//DTD XHTML 1.0 Strict//EN" systemID="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" /> This attribute is then used to trigger CONTENT_FORMAT_SUPPORT-3 accordingly. The detection of "something that looks like a DOCTYPE declaration" is based on the following regular expression (case is ignored): <!doctype\\s