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

Test #64 (corrected): @about generates a proper triple when a safe CURIE is used

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 12 Dec 2007 10:05:24 -0500
Message-ID: <475FF8B4.5050205@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Shane McCarron wrote:
> Actually, rel does not permit the use of a safe CURIE - only a CURIE. 
> So this should NOT produce a triple. 

Ooops! Changing test #64 to be a basic safe CURIE test...

Purpose:

Tests to make sure that a safe CURIE generates a triple when used in @about.

====================== Test Case 64 =============================

---------------------Test Case 64 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:foaf="http://xmlns.com/foaf/0.1/">
  <head>
    <title>Test 0064</title>
  </head>
  <body>
    <div about="[_:dan]"
         rel="foaf:knows"
         href="mailto:libby.miller@bristol.ac.uk">
    </div>
  </body>
</html>

-----------------------------------------------------------------

---------------------Test Case 64 SPARQL ------------------------
ASK WHERE {
<_:dan>
   <http://xmlns.com/foaf/0.1/knows>
      <mailto:libby.miller@bristol.ac.uk> .
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Over One Million Songs Available on Bitmunk
http://blog.digitalbazaar.com/2007/10/29/one-million-songs-on-bitmunk/
Received on Wednesday, 12 December 2007 15:05:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:19 GMT