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

Test Case #105: inner @rel is neither CURIE nor link type behavior

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 10 May 2008 11:23:51 -0400
Message-ID: <4825BE07.4000209@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, but a triple is
expected to be generated.

====================== 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>
      <p rel="dc:creator">Ben created this page:
         <img rel="myfoobarrel" href="http://example.org/ben.jpg" />
      </p>
   </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>
      <http://example.org/ben.jpg> .
}
-----------------------------------------------------------------

-- manu
Received on Saturday, 10 May 2008 15:25:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 May 2008 15:25:26 GMT