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

Test Case #118 (v2): Fragment identifiers stripped from BASE

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Thu, 20 Nov 2008 17:18:41 -0500
Message-ID: <4925E241.4070208@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Purpose:

This test ensures that fragment identifiers are stripped from [base]
when used to generate triples.

====================== Test Case 118 =============================

---------------------Test Case 118 XHTML--------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
                      "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:dc="http://purl.org/dc/elements/1.1/">
   <head>
      <base href="http://www.example.org/tc118.xhtml#fragment"></base>
      <title property="dc:title">Test 0118</title>
   </head>
   <body>
      <p><span property="dc:contributor">Mark Birbeck</span>
         added this triple test.
      </p>
   </body>
</html>
-----------------------------------------------------------------

---------------------Test Case 118 SPARQL -----------------------
ASK WHERE {
<http://www.example.org/tc118.xhtml>
   <http://purl.org/dc/elements/1.1/title>
      "Test 0118" .
<http://www.example.org/tc118.xhtml>
   <http://purl.org/dc/elements/1.1/contributor>
      "Mark Birbeck" .
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.

blog: POSIX Threads Don't Scale Past 100K Concurrent Web Requests
http://blog.digitalbazaar.com/2008/09/30/scaling-webservices-part-1

blog: Fibers are the Future: Scaling Past 100K Concurrent Web Requests
http://blog.digitalbazaar.com/2008/10/21/scaling-webservices-part-2
Received on Thursday, 20 November 2008 22:19:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 November 2008 22:19:21 GMT