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

Re: Issue with Jena/sparql.org and XML Literals?

From: Ivan Herman <ivan@w3.org>
Date: Tue, 10 Jun 2008 09:41:01 +0200
Message-ID: <484E300D.3010001@w3.org>
To: Manu Sporny <msporny@digitalbazaar.com>
CC: "Seaborne, Andy" <andy.seaborne@hp.com>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>, Dave Beckett <dave@dajobe.org>


Manu Sporny wrote:
> Seaborne, Andy wrote:
>> It is possible to get non-canonicalized XML literals into 
>> the data by using datatype XMLLiteral even in RDF/XML.
> 
> So this means that @datatype and @parseType don't do the same thing when
> dealing with XML Literal data.
> 
> The string in the element containing @datatype isn't modified at all.
> 
> The string in the element containing @parseType IS modified via XML
> Exclusive Canonicalization.
> 

And as I commented before, I wonder whether this is not a bug in the 
RDF/XML spec. However, this group should not spend too much time on an 
issue that is not for this group to solve...

> Ivan, the easiest thing to do at this point is for you to NOT change
> your implementation and I'll just write the SPARQL to match what your
> implementation generates.
>

Yes, that is fine.

> Although, in light of this new discovery, it makes the learning curve
> even steeper for XML Literals.
> 

:-(

Ivan

> -- manu
> 

-- 

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 Tuesday, 10 June 2008 07:41:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 10 June 2008 07:41:20 GMT