Many (possible all) of the XMLLiteral examples in N-triples (variant) are technically flawed, I suggest a simple change to section 2.2.1 introducing N-triples with QNames that could fix this. Flaw: An rdf:XMLLiteral is: - a self contained XML fragment - in exclusive canonical XML e.g. "E = mc<sup>2</sup>"^^rdf:XMLLiteral is not intended as such but I suspect, the sup is in the namespace http://www.w3.org/2002/06/xhtml2 in which case the N-triple form would be "E = mc<sup xmlns=\"http://www.w3.org/2002/06/xhtml2\">2</sup>" ^^rdf:XMLLiteral Note that exclusive canonical XML requires use of " and not ', and then N-triples escaping of " is \" I suggest changing the last line of the last example in 2.2.1 to replace <sup> with <sup xmlns=\"http://www.w3.org/2002/06/xhtml2\"> and adding a paragraph after this. [[ The above example illustrates a further simplication of N-triples in this document. When the datatype is rdf:XMLLiteral, we omit the requirements of exclusive canonical XML. In particular, we assume a default namespace of http://www.w3.org/2002/06/xhtml2, and any further steps required by exclusive XML canonicalization are also implicit. ]] JeremyReceived on Monday, 25 October 2004 15:42:03 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:59 GMT