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

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

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Mon, 09 Jun 2008 13:47:07 -0400
Message-ID: <484D6C9B.5030203@digitalbazaar.com>
To: "Seaborne, Andy" <andy.seaborne@hp.com>
CC: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>, Dave Beckett <dave@dajobe.org>

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.

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.

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

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Dynamic Spectrum Auctions and Digital Marketplaces
http://blog.digitalbazaar.com/2008/04/24/dynamic-spectrum-auctions/
Received on Monday, 9 June 2008 17:47:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 June 2008 17:47:48 GMT