- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Thu, 06 Dec 2007 09:53:57 -0500
- To: RDFa <public-rdf-in-xhtml-tf@w3.org>
I think we need at least two new test cases to cover the new rules: - One to cover a single hanging rel. - Another to cover generation of multiple triples using a single hanging rel. We could condense both tests down into one, but I think keeping them separate would be a good idea. ====================== 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" instanceof="foaf:Person" 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://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" . } ----------------------------------------------------------------- ====================== Test Case 57 ============================= ---------------------Test Case 57 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 0057</title> </head> <body> <div about="http://www.example.org/#ben" instanceof="foaf:Person" rel="foaf:knows"> <p about="http://www.example.org/#mark" instanceof="foaf:Person" property="foaf:name">Mark Birbeck</p> <p about="http://www.example.org/#ivan" instanceof="foaf:Person" property="foaf:name">Ivan Herman</p> </div> </body> </html> ---------------------Test Case 57 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/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#ivan> . <http://www.example.org/#mark> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" . <http://www.example.org/#ivan> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <http://www.example.org/#ivan> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" . } -------------------------------------------------------------- -- 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 14:54:28 UTC