W3C home > Mailing lists > Public > public-html-data-tf@w3.org > November 2011

RDFa in HTML vs XHTML

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 11 Nov 2011 21:19:16 +0000
Message-Id: <524EAFC0-36EE-4459-AE32-BA20B90CEE24@jenitennison.com>
Cc: HTML Data Task Force WG <public-html-data-tf@w3.org>
To: Gregg Kellogg <gregg@kellogg-assoc.com>, Ivan Herman <ivan@w3.org>
Gregg, Ivan,

Can you clarify what the relationship is between the XHTML+RDFa 1.1 spec and the HTML+RDFa 1.1 spec?

HTML5 makes the distinction between the HTML DOM and its serialisations into HTML or XHTML syntax [1] and the polyglot spec talks about how to make a document that will generate the same DOM when interpreted as HTML or as XHTML [2].

Is it the case that a polyglot document with embedded RDFa might be interpreted differently based on whether it's served as text/html or as application/xhtml+xml? If so, under what circumstances would it generate different data? Is there a way of creating polyglot RDFa documents that will be interpreted in the same way? What restrictions does that place on RDFa markup?

Thanks for any insight you can give on this,

Jeni

[1] http://dev.w3.org/html5/spec/Overview.html#html-vs-xhtml
[2] http://dev.w3.org/html5/html-xhtml-author-guide/
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Friday, 11 November 2011 21:19:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 November 2011 21:19:48 GMT