W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > October 2004

RE: Editorial Comment on RDF/A and XMLLiterals

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Mon, 25 Oct 2004 16:52:44 +0100
To: "'Jeremy Carroll'" <jjc@hplb.hpl.hp.com>
Cc: "'public-rdf-in-xhtml task force''" <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <009101c4baaa$ad8556a0$6701a8c0@W100>

That's great ... thanks Jeremy!

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/

Download our XForms processor from
http://www.formsPlayer.com/

> -----Original Message-----
> From: public-rdf-in-xhtml-tf-request@w3.org 
> [mailto:public-rdf-in-xhtml-tf-request@w3.org] On Behalf Of 
> Jeremy Carroll
> Sent: 25 October 2004 16:42
> To: Jeremy Carroll
> Cc: 'public-rdf-in-xhtml task force''
> Subject: Editorial Comment on RDF/A and XMLLiterals
> 
> 
> 
> 
> 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. ]]
> 
> Jeremy
> 
> 
> 
> 
> 
Received on Monday, 25 October 2004 15:53:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:59 GMT