Test Case #117: Reserved word used in @property should not generate triple

Purpose:

This test case was proposed by Toby Inkster. It ensures that reserved
words that are used in @property do not generate triples. This is a
NEGATIVE test case.

====================== Test Case 117 =============================

---------------------Test Case 117 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 0117</title>
   </head>
   <body>
      <div property="next">invalid property</div>
   </body>
</html>
-----------------------------------------------------------------

---------------------Test Case 117 SPARQL -----------------------
# This is a negative test case, the following triple should not
# be generated.
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0117.xhtml>
   <http://www.w3.org/1999/xhtml/vocab#next>
      "invalid property" .
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.

blog: POSIX Threads Don't Scale Past 100K Concurrent Web Requests
http://blog.digitalbazaar.com/2008/09/30/scaling-webservices-part-1

blog: Fibers are the Future: Scaling Past 100K Concurrent Web Requests
http://blog.digitalbazaar.com/2008/10/21/scaling-webservices-part-2

Received on Wednesday, 19 November 2008 22:36:26 UTC