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

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

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

Gah... sorry, still didn't like that last test. It contains a blank page
when rendered, which might confuse testers. Changed it so that it shows
some text on the page.

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>
    <p about="[_:dan]">Dan knows
      <a rel="foaf:knows"
         href="mailto:libby.miller@bristol.ac.uk">Libby</a>.
    </p>
  </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:29:12 GMT

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