<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6718</bug_id>
          
          <creation_ts>2009-03-18 21:17:10 +0000</creation_ts>
          <short_desc>An extra quote in the DOCTYPE declaration makes the Checker crash</short_desc>
          <delta_ts>2009-04-21 07:48:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24318</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-03-18 21:17:10 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24879</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-04-21 07:48:02 +0000</bug_when>
    <thetext>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&apos;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&apos;m afraid), a more generic error code that truly claims &quot;I could decode the received document but could not parse it to create a DOM tree&quot; would be a plus.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>