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

Purpose:

This test case was proposed by Ivan Herman and refined by Toby Inkster.
It tests to make sure that XML Entities are treated properly by the RDFa
parser.

====================== Test Case 116 =============================

---------------------Test Case 116 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:ex="http://www.example.com/">
   <head>
     <title>Test Case 116</title>
   </head>
   <body>
      <p>Description: XML entities in the RDFa content</p>
      <p>
        <span property="ex:entity">&lt;string&gt;</span>
        <span property="ex:entity">Ben &amp; Co.</span>
        <span property="ex:entity">&#x40;</span>
        <span property="ex:entity">&#64;</span>
      </p>
   </body>
</html>
------------------------------------------------------------------

---------------------Test Case 116 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
   <http://www.example.com/entity>
      "<string>" .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
   <http://www.example.com/entity>
      "Ben & Co." .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
   <http://www.example.com/entity>
      "@" .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0116.xhtml>
   <http://www.example.com/entity>
      "@" .
}
-----------------------------------------------------------------

-- 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:21 UTC