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

TC#100 is incorrect, SPARQL needs to be updated

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 24 May 2008 15:27:02 -0400
Message-ID: <48386C06.7090602@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

TC#100 has the same issue that most of these XML Literal tests have -
they don't preserve the namespaces correctly. Corrected SPARQL follows
for TC#100:

------------------------------------------------------------------------
ASK WHERE {
 <http://www.example.org> <http://example.org/rdf/example> "Some text
here in <strong xmlns=\"http://www.w3.org/1999/xhtml\"
xmlns:dc=\"http://purl.org/dc/elements/1.1/\"
xmlns:ex=\"http://example.org/rdf/\"
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"
xmlns:svg=\"http://www.w3.org/2000/svg\">bold</strong> and an svg
rectangle: <svg:svg xmlns=\"http://www.w3.org/1999/xhtml\"
xmlns:dc=\"http://purl.org/dc/elements/1.1/\"
xmlns:ex=\"http://example.org/rdf/\"
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"
xmlns:svg=\"http://www.w3.org/2000/svg\"><svg:rect svg:width=\"200\"
svg:height=\"100\"></svg:rect></svg:svg>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
.
 }
------------------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: DB Launches Medical Record Sales Service with Shepherd Medical
http://blog.digitalbazaar.com/2008/02/24/health2trade/
Received on Saturday, 24 May 2008 19:27:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 24 May 2008 19:27:44 GMT