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

[Bug 15831] validator prevents XHTML5 from containing XML declaration

From: <bugzilla@jessica.w3.org>
Date: Fri, 03 Feb 2012 00:40:28 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Rt7CW-00044b-GN@jessica.w3.org>

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

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