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

Test Case #11 (v2): XMLLiteral

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 07 Jun 2008 15:03:30 -0400
Message-ID: <484ADB82.9050603@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Per our discussion and resolution on 5/29:

   RESOLUTION: Add valid cases of XML Literals as requested by
   implementers to TC 100-103 and add comments to tell other
   implementors that the tests may fail due to XML Literal issues.

The following SPARQL returns TRUE for both PyRDFa and librdfa.

====================== Test Case 11 =============================

---------------------Test Case 11 XHTML--------------------------
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
		<title>Test 0011</title>
  	<div about="">
      Author: <span property="dc:creator">Albert Einstein</span>
      <h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent
Problem of Our Time</h2>

---------------------Test Case 11 SPARQL -----------------------
# Some parsers may generate XML Literals that differ from the ones
# shown below. The only requirement for XML Literal tests is that
# the RDF graph that is generated is equivalent to the one expressed
# in the XHTML (preservation of whitespace and namespaces that are
# utilized in the XML Literal).

<http://purl.org/dc/elements/1.1/creator> "Albert Einstein" .

<http://purl.org/dc/elements/1.1/title> "E = mc<sup
xmlns:dc=\"http://purl.org/dc/elements/1.1/\">2</sup>: The Most Urgent
Problem of Our
Time"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://purl.org/dc/elements/1.1/title> "E = mc<sup
xmlns=\"http://www.w3.org/1999/xhtml\">2</sup>: The Most Urgent Problem
of Our Time"^^<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
Received on Saturday, 7 June 2008 19:04:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:28 UTC