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

Test Case #121: "[prefix:]" CURIE format is valid

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

Purpose:

Ensures that an RDFa processor expands CURIEs having only a prefix and a
colon if a prefix is properly defined using xmlns.

====================== Test Case 121 =============================

---------------------Test Case 121 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 0121</title>
   </head>
   <body>
      <div>
         <p about="[example:]">
            The
            <span property="dc:title">Example Website</span>
            is used in many W3C tutorials.
         </p>
      </div>
   </body>
</html>
-----------------------------------------------------------------

---------------------Test Case 121 SPARQL -----------------------
ASK WHERE {
<http://example.org/>
   <http://purl.org/dc/elements/1.1/title>
      "Example Website" .
}
----------------------------------------------------------------

-- 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:20:25 GMT

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