W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2012

[Bug 19496] XHTML documents treated as "tag soup"

From: <bugzilla@jessica.w3.org>
Date: Wed, 24 Oct 2012 07:49:10 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-19496-169-MZjPjgrSJP@http.www.w3.org/Bugs/Public/>

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
                 CC|                            |mike@w3.org
          Component|HTML5                       |check
           Assignee|mike+validator@w3.org       |dave.null@w3.org

--- Comment #1 from Michael[tm] Smith <mike@w3.org> ---
To validate XHTML5 and HTML5 documents, please use the W3C Nu validator


If you use that you'll see that it parses your document as XML/XHTML as
expected, and finds no errors.

The cause of the behavior you're seeing with the existing W3C validator is that
it ignores the fact that you're serving the document with a
application/xhtml+xml MIME type; it just hands the documebt off to Nu validator
backend without also passing on the mime type information.

There's nothing I can do to fix this on the Nu validator side, so I'm moving it
back to the previous component.

Ville, I can't remember now whether we discussed this previously, or whether
this is something that's fixable in the Perl code. But if it's possible in the
case of "application/xhtml+xml" documents to have the code pass the
"parser=xml" option to the Nu backend, that should fix it.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 24 October 2012 07:49:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:52 UTC