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 parsing an application/xhtml+xml document with an XHTML 1.0 document type definition, the following comment should not validate: <!-- this is a comment ---- another comment --> 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.
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.