|
All, When dealing with rdf:XMLLiteral's which includes HTML entities such as ’ does preference go to:
Cheers, |
|
XML Literals are supposed to be in exclusive canonical form. If I read correctly that means you ought to do the following:
So for ’ you should enter '’', the character itself. Serialisations other than rdf/xml may impose further restrictions. For example in N-Triples you must encode everything beyond US-ASCII, so <span>’</span> would be written as <span>\u2019</span>. 1
They are supposed to be in canonical form after parsing. This does in no way imply that they should be written in canonical form in RDF/XML. Canonicalization is the RDF/XML parser's job. |


I assume you ask how to write such entities in an RDF/XML document?