- From: Shane McCarron <shane@aptest.com>
- Date: Tue, 26 May 2009 16:21:47 -0500
- To: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
In a discussion with Mark today, I realized that we dont really have a test case that ensures embedded elements get processed after a surrounding element is tagged with datatype "". Thanks Mark! XHTML: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <head> <title>Test 0124</title> <base href="http://www.example.org/me" /> </head> <body> <div id="shane" about="#shane" typeof="foaf:Person"> <h2 property="foaf:name" datatype=""><span property="foaf:firstName">Shane</span> <span property="foaf:surname">McCarron</span></h2> </div> <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 the following SPARQL: ASK WHERE { <http://www.example.org/me#shane> <http://xmlns.com/foaf/0.1/firstName> "Shane" . <http://www.example.org/me#shane> <http://xmlns.com/foaf/0.1/surname> "McCarron" . <http://www.example.org/me#shane> <http://xmlns.com/foaf/0.1/name> "Shane McCarron" . <http://www.example.org/me#shane> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/name> "<span property=\"foaf:firstName\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\">Mark</span> <span property=\"foaf:surname\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\">Birbeck</span>/h2> "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> . <http://www.example.org/me#mark> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . } -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane@aptest.com
Received on Tuesday, 26 May 2009 21:22:26 UTC