RDF validator: XML entity handling in literals

report=I think the object in N-triples should be "foo < bar", not "foo &lt; 
bar".

(My understanding is that the XML parser replaces '&lt;' with '<' in the 
infoset, and the RDF syntax translation does not change it further.)

#g
--

RDF=<?xml version="1.0">
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/">
   <rdf:Description>
     <dc:prop>foo &lt; bar</dc:prop>
   </rdf:Description>
</rdf:RDF>


------------
Graham Klyne
GK@NineByNine.org

Received on Tuesday, 9 September 2003 05:36:58 UTC