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

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