Test Case #118: 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>This test case should strip all but the last #test-id
         part away from the base URL.</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" .
}
-----------------------------------------------------------------

-- 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 Wednesday, 19 November 2008 22:36:43 UTC