Re: ISSUE-137 (Media Type): HTML+RDFa should normatively declare media types and describe how to identify relative to XHTML+RDFa 1.1 [RDFa 1.1 in HTML5]

Sorry, to nitpick, but...

On Wed, Apr 25, 2012 at 3:41 PM, RDF Web Applications Working Group
Issue Tracker <sysbot+tracker@w3.org> wrote:
>
> There should also be an indication that XHTML mode HTML+RDFa 1.1 documents can be distinguished from XHTML+RDFa 1.1 documents by the lack of an XHTML DOCTYPE or @version.
>

If you look at HTML5's bit on XHTML parsing [1], you'll see that HTML5
XHTML syntax documents may contain a DOCTYPE.  So, the only
distinguishing feature is the possibility of a version attribute.  A
HTML5 XHTML parser would use the data URI for the listed public
identifiers.  As such, no defaulting of the version would happen.

I doubt there is a reliable way to tell them apart.

[1] http://www.w3.org/TR/html5/the-xhtml-syntax.html#parsing-xhtml-documents

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Wednesday, 25 April 2012 22:55:07 UTC