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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19496

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
directly:

  http://validator.w3.org/nu/

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