[Bug 27973] Easy identification of XHTML5

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

Jirka Kosek <jirka@kosek.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jirka@kosek.cz
         Resolution|---                         |WONTFIX

--- Comment #1 from Jirka Kosek <jirka@kosek.cz> ---
(In reply to Stephan Kreutzer from comment #0)
> How does a XHTML5 document identify itself in terms of self-descriptiveness,
> as there's no identifier in the DOCTYPE declaration or even no DOCTYPE
> declaration at all? Will simple processing applications or general purpose

XHTML document must have elements in XHTML namespace
(http://www.w3.org/1999/xhtml). So checking namespace of the root element
(html) should be sufficient to identify content as XHTML from XML point of
view.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 10 February 2015 09:19:06 UTC