<?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>1453</bug_id>
          
          <creation_ts>2005-05-17 02:41:54 +0000</creation_ts>
          <short_desc>Badly formed XML comment not detected in application/xhtml+xml document</short_desc>
          <delta_ts>2007-05-24 04:48:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Parser</component>
          <version>0.6.7</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.sitepoint.com/examples/badxhtml/badcomments.xhtml</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="Thomas Rutter">tom</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3264</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Rutter">tom</who>
    <bug_when>2005-05-17 02:41:54 +0000</bug_when>
    <thetext>When parsing an application/xhtml+xml document with an XHTML 1.0 document type
definition, the following comment should not validate:

&lt;!-- this is a comment ---- another comment --&gt;

This comment would be valid in SGML, but is not well-formed XML and cannot be
parsed by XML parsers.

See testcase URL

Actual results:
Validator certifies document as valid, showing only a warning.

Expected results:
Validator parses document as XML and identifies this as a well-formedness error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15175</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-05-24 04:48:35 +0000</bug_when>
    <thetext>This is now caught by the xml-well-formedness checking added in the 0.8.0 (currently beta) version of the validator. 

Thanks for the bug report.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>