W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > January 2009

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

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 07 Jan 2009 14:31:16 -0500
Message-ID: <49650304.70808@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 January 2009 19:31:54 GMT