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

Test Case #107: no garbage collection of bnodes - one level

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 07 Jun 2008 13:41:35 -0400
Message-ID: <484AC84F.2030708@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Purpose:

This tests to make sure that while we shouldn't garbage collect bnodes,
the case below doesn't generate a triple.

====================== Test Case 107 =============================

---------------------Test Case 107 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">
  <head>
    <title>Test 0107</title>
  </head>
  <body>
    <div rel="next">
    </div>
  </body>
</html>
------------------------------------------------------------------

---------------------Test Case 107 SPARQL -----------------------
# This should be a negative test, the following triple should not exist.
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0107.xhtml>
   <http://www.w3.org/1999/xhtml/vocab#next>
      ?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, 7 June 2008 17:42:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 7 June 2008 17:42:31 GMT