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

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

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 19 Nov 2008 17:35:50 -0500
Message-ID: <492494C6.7050107@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 November 2008 22:36:27 GMT