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

Test Case #105 (v2): inner @rel is neither CURIE nor LinkType behavior

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 10 May 2008 17:02:36 -0400
Message-ID: <48260D6C.4040308@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Purpose:

This test case checks the behavior of triple generation in a corner case
where the inner @rel is neither a CURIE or a LinkType. This test
effectively causes a rel="" to be inserted between the outer div subject
and the inner href, which halts chaining.

====================== Test Case 105 =============================

---------------------Test Case 105 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/">
   <head>
      <title>Test 0105</title>
   </head>
   <body>
      <div about="" rel="dc:creator">
         <a rel="myfoobarrel" href="ben.html">Ben</a>
         created this page.
      </div>
   </body>
</html>
-----------------------------------------------------------------

---------------------Test Case 105 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0105.xhtml>
   <http://purl.org/dc/elements/1.1/creator>
      _:a .
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: DB Launches Medical Record Sales Service with Shepherd Medical
http://blog.digitalbazaar.com/2008/02/24/health2trade/
Received on Saturday, 10 May 2008 21:04:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 May 2008 21:04:09 GMT