W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2011

Re: RDF-ISSUE-63 (html5-datatype): Introduce an HTML5 datatype [RDF General]

From: David Wood <david.wood@talis.com>
Date: Thu, 26 May 2011 08:12:06 -0400
Message-Id: <8EB4DC93-0779-43F3-8A72-36A7E8BDFD71@talis.com>
To: RDF Working Group WG <public-rdf-wg@w3.org>
On May 26, 2011, at 07:57, RDF Working Group Issue Tracker wrote:

> RDF-ISSUE-63 (html5-datatype): Introduce an HTML5 datatype [RDF General]
> http://www.w3.org/2011/rdf-wg/track/issues/63
> Raised by: Richard Cyganiak
> On product: RDF General
> The 2004 WG worked under the assumption that the future of HTML was XHTML. The use case of shipping markup fragments as RDF payloads would be addressed by rdf:XMLLiteral.
> In 2011, shipping HTML5 fragments should be considered a relevant use case. Is rdf:XMLLiteral still adequate for this task? Is a new datatype with HTML5 fragments lexical space needed?

rdf:XMLLiteral should work for HTML 5's XML serialization (any HTML5 document that is served with an XML Content-Type, IIRC), but not for non-XML versions of HTML5.

I don't think that polyglot HTML5 [1] will help here, because dropping an rdf:XMLLiteral into a generic HTML5 doc may not be valid, depending on the state of the rest of the document.

So, yes, it would seem we need to define another way to pass fragments into non-XML serializations of HTML5.


[1] http://dev.w3.org/html5/html-author/#polyglot-documents

Received on Thursday, 26 May 2011 12:12:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:07 UTC