Error in handling xml entities

<?xml version="1.0" encoding="utf-8"?>
 <rdf:RDF
   xmlns:example="http://www.example.org/"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 >
   <rdf:Description rdf:about="http://www.example.org/ltest.html">
      <example:nami>&lt;string&gt;</example:nami>
   </rdf:Description>
</rdf:RDF>

is, when converted shown to have the following triples:

subject:   http://www.example.org/ltest.html
predicate: http://www.example.org/nami 
object:    "&lt;string&gt;"

The last entry seems to be wrong; it should say "<string>"

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Friday, 10 October 2008 14:18:03 UTC