This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7498 - CONTENT_FORMAT_SUPPORT-3: also triggered by invalid DOCTYPE declarations
Summary: CONTENT_FORMAT_SUPPORT-3: also triggered by invalid DOCTYPE declarations
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Web interface (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement
Target Milestone: ---
Assignee: fd
QA Contact: fd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 12:17 UTC by fd
Modified: 2009-09-10 14:46 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-09-04 12:17:11 UTC
As explained in Bug 7463, the mobileOK Checker library fails to identify slightly invalid DOCTYPE declarations as such, and trigger the "No DOCTYPE found" CONTENT_FORMAT_SUPPORT-3 failure message in such cases.

That is a bit misleading for authors who think they have already done that. The failure message should be completed to explain the possibility.
Comment 1 fd 2009-09-04 12:43:31 UTC
Note that the markup validation service checks a doctype declaration against the SGML specification whereas the mobileOK Checker follows the definition of the XML specification. The nuance is hard to explain to the public at large, and should probably not be emphasized here. The message refers to the XML specification explicitly, which seems enough.

Message completed to:

[[
See Don't forget to add a doctype.

This failure message may be returned when the page under test contains a syntactically invalid DOCTYPE. See the Document Type Definition production rules in the XML standard in that case.
]]