Test Case #66: @instanceof in HEAD

Purpose:

Test to make sure that @about=<CURRENT_DOCUMENT> is implied in the HEAD
tag, and the proper triples are generated using @instanceof.

====================== Test Case 66 =============================

---------------------Test Case 66 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 instanceof="foaf:Document">
      <title>Test 0066</title>
   </head>
   <body>
      <p>This is test #66.</p>
   </body>
</html>
----------------------------------------------------------------

---------------------Test Case 66 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0066.xhtml>
   <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
      <http://xmlns.com/foaf/0.1/Document> .
}
-----------------------------------------------------------------

-- 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 Monday, 17 December 2007 03:42:04 UTC