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

Re: XMLLiterals and c14n

From: Ben Adida <ben@adida.net>
Date: Wed, 16 Sep 2009 15:05:06 -0700
Message-ID: <4AB16112.3030903@adida.net>
To: Ivan Herman <ivan@w3.org>, Philip Taylor <pjt47@cam.ac.uk>
CC: public-rdf-in-xhtml-tf@w3.org

Ivan, Philip,

I had an action to follow up on this issue, but looking at this thread
I'm a little bit confused.

> The bottomline is that you are right. Neither N3/Turtle nor SPARQL
> includes any automatic canonicalization of XML Literals (in contrast to
> RDF/XML), nor will the new version of SPARQL do it.

So, this is a bit disconcerting. As I mentioned on the call, does RDFa
need to worry about float canonicalization, too? Does SPARQL consider
"2.0"^^xsd:float different from "2.00"^^xsd:float?

If SPARQL indeed considers these to be different and effectively only
does string comparisons, then what is the point of datatyping?

And if SPARQL *does* canonicalize floats, then why wouldn't it also
canonicalize XMLLiterals?

My action was to express the sentiment that this is not part of the RDFa
scope: we're just parsing a syntax and creating and RDF graph with typed
values. I still think that's the case.


Received on Wednesday, 16 September 2009 22:05:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:04 UTC