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

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 UTC