[Bug 15831] validator prevents XHTML5 from containing XML declaration

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@w3.org

--- Comment #1 from Michael[tm] Smith <mike@w3.org> 2012-02-03 00:40:27 UTC ---
(In reply to comment #0)
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml">
> ...
> Line 1, Column 2: Saw <?. Probable cause: Attempt to use an XML processing
> instruction in HTML. (XML processing instructions are not supported in HTML.)
> 
> As I understand, HTML5 allows representation in a true application/xhtml+xml
> file. The http://validator.nu/ validator validates this file just fine (if I
> select "XHTML5".

Yeah, that's expected because it's actually parsing the document as XML instead
of as text/html.

> (The W3C validator doesn't have an "XHTML5" option.

Yep. To address that and other problems, we've been working on setting up a
separate standalone instance at W3C of  a validator based on the validator.nu
backend. It will expose the same options that are exposed at the
http://validator.nu site. It's taken a little longer than anticipated to get it
launched, but it should be live within the next two weeks.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 3 February 2012 00:40:30 UTC