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

Re: htmldata-ISSUE-2 (Use of rdf:XMLLiteral): Should Microdata-RDF generate XMLLiteral values [Microdata to RDF]

From: Philip Jägenstedt <philipj@opera.com>
Date: Fri, 21 Oct 2011 10:34:46 +0200
To: public-html-data-tf@w3.org
Message-ID: <op.v3o0r8k2sr6mfa@kirk>
On Fri, 21 Oct 2011 10:22:18 +0200, Ivan Herman <ivan@w3.org> wrote:

> Note that there is also an open issue in the RDF WG to introduce another  
> Literal, namely HTMLLiteral. Obviously, if using a non-XML version of  
> HTML5, this may be a necessity...

Why? Both HTML and XHTML parse into a DOM, which is what processors have  
to operate on, and from there the serialization into XML is the same. (You  
can't create an XML literal by taking a substring of the input, since the  
encoding might not be the one you want.)

Philip Jägenstedt
Core Developer
Opera Software
Received on Friday, 21 October 2011 08:35:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:08:25 UTC