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 6718 - An extra quote in the DOCTYPE declaration makes the Checker crash
Summary: An extra quote in the DOCTYPE declaration makes the Checker crash
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 21:17 UTC by fd
Modified: 2009-04-21 07:48 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-03-18 21:17:10 UTC
See:
http://lists.w3.org/Archives/Public/public-mobileok-checker/2009Mar/0007.html

The bug seems to be in the TagSoup library being used to tidy the content.
Comment 1 fd 2009-04-21 07:48:02 UTC
Bug 5921, bug 6284, bug 6718 and bug 6818 are similar because they all relate
to primary documents that cannot be decoded nor parsed. The Checker should
return an error in such cases, and not raise an exception that makes it look as
if something is wrong within the Checker.

See comments in Bug 5921 for more details.

The real problem here is that, although the Checker now correctly returns a CONTENT_FORMAT_SUPPORT-4 FAIL message, there is no immediate connection between the failure and the actual error, meaning that it's more or less impossible for a use to realize that the problem lies in the DOCTYPE. Although not enough to tell the user where to look (but there is no real way we can do that here, I'm afraid), a more generic error code that truly claims "I could decode the received document but could not parse it to create a DOM tree" would be a plus.