RDFa in HTML vs XHTML

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 UTC