Test Case #122: "[:]" CURIE format is valid

Purpose:

Ensures that an RDFa processor expands CURIEs having only a colon to the
default prefix "http://www.w3.org/1999/xhtml/vocab#".

====================== Test Case 122 =============================

---------------------Test Case 122 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/"
      xmlns:example="http://example.org/">
   <head>
      <title>Test Case 0122</title>
   </head>
   <body>
      <p about="[:]">
         The
         <span property="dc:title">The XHTML Vocabulary Document</span>
         is the default prefix for XHTML+RDFa 1.0.
      </p>
   </body>
</html>
-----------------------------------------------------------------

---------------------Test Case 122 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/1999/xhtml/vocab#>
   <http://purl.org/dc/elements/1.1/title>
      "The XHTML Vocabulary Document" .
}
----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Dynamic Spectrum Auctions and Digital Marketplaces
http://blog.digitalbazaar.com/2008/04/24/dynamic-spectrum-auctions/

Received on Wednesday, 7 January 2009 19:31:53 UTC