- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Thu, 06 Dec 2007 12:30:07 -0500
- To: RDFa <public-rdf-in-xhtml-tf@w3.org>
Per an action item from the call today, we need a couple of test cases to cover the new parsing rules, specifically, how hanging rel is covered. Each test case will be included in an e-mail by itself. Please ignore my previous e-mail about #56 and #57 - they need to be simplified. All, should Michael add these to the unreviewed test cases that are a part of the test suite? Purpose: Makes sure that the parser applies @instanceof to the current subject and not the chained subject when there is a hanging rel. ====================== Test Case 56 ============================= ---------------------Test Case 56 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> <title>Test 0056</title> </head> <body> <div about="http://www.example.org/#ben" instanceof="foaf:Person" rel="foaf:knows"> <p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p> </div> </body> </html> ---------------------Test Case 56 SPARQL------------------------ ASK WHERE { <http://www.example.org/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> . <http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" . } ----------------------------------------------------------------- -- 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 Thursday, 6 December 2007 17:30:22 UTC