As per Michael's suggestion, I propose test case 0125 that checks the NEGATIVE - that is, that the embedded triples are NOT generated when an XMLLiteral is the datatype: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <head> <title>Test 0125</title> <base href="http://www.example.org/me"> </head> <body> <div id="mark" about="#mark" typeof="foaf:Person"> <h2 property="foaf:name"><span property="foaf:firstName">Mark</span> <span property="foaf:surname">Birbeck</span></h2> </div> </body> </html> With SPARQL like: # This test should result in a 'NO', i.e. no triples should be generated from the XHTML+RDFa input document. ASK WHERE { <http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/firstName> "Mark" . <http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/surname> "Birbeck" . } And an entry in the RDF manifest that clearly indicates this expects a negative result: <TestCase rdf:about="Test0125"> <dc:contributor>Shane McCarron</dc:contributor> <dc:title>datatype XMLLiteral with other embeded RDFa</dc:title> <informationResourceInput rdf:resource="0125.xhtml"/> <informationResourceResults rdf:resource="0125.sparql"/> <purpose>Checks to ensure that when datatype is the default the parser does not generate triples for embedded content. </purpose> <reviewStatus rdf:resource="http://www.w3.org/2006/03/test-description#unreviewed"/> <expectedResults rdf:datatype="xsd:boolean">false</expectedResults> <specificationReference></specificationReference> </TestCase> -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane@aptest.comReceived on Wednesday, 27 May 2009 15:47:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 May 2009 15:48:00 GMT