Test Case #115: Relative URLs must be resolved in resulting triples

Purpose:

Relative URLs can produce invalid data if they are not resolved
correctly before triples are generated. This tests ensures that basic
relative URL resolution is performed by the RDFa parser. This is not
meant to be a full-coverage test, it is just meant to test that a couple
of basic types of relative URLs are covered.

====================== Test Case 115 =============================

---------------------Test Case 115 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:cc="http://creativecommons.org/ns#">
  <head>
    <title>Test 0115</title>
  </head>
  <body>
     <a rel="up" href="rdfa-xhtml1-test-manifest.rdf">
        Manifest
     </a>
     <a rel="prev" href="../xhtml1-testcases/0114.xhtml">
        Next Test Case
     </a>
     <a rel="cc:attributionURL" href="../../../../../../../../../../">
        W3C
     </a>
  </body>
</html>
------------------------------------------------------------------

---------------------Test Case 115 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0115.xhtml>
   <http://www.w3.org/1999/xhtml/vocab#up>
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/rdfa-xhtml1-test-manifest.rdf>.

<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0115.xhtml>
   <http://www.w3.org/1999/xhtml/vocab#prev>
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0114.xhtml>.

<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0115.xhtml>
   <http://creativecommons.org/ns#attributionURL>
      <http://www.w3.org/> .
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.0 Website Launches
http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches

Received on Wednesday, 17 September 2008 21:42:34 UTC