- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Mon, 12 May 2008 10:37:29 -0400
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Purpose: This test checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "". ====================== Test Case 107 ============================= ---------------------Test Case 107 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:ex="http://example.org/"> <head> <title>Test 0107</title> </head> <body> <p> <span about="http://example.org/node" property="ex:property" datatype="">not an XML Literal, whitespace preserved </span> </p> </body> </html> ---------------------------------------------------------------- ---------------------Test Case 107 SPARQL ----------------------- ASK WHERE { <http://example.org/node> <http://example.org/property> "not an XML Literal,\nwhitespace preserved\n" . } ---------------------------------------------------------------- -- manu -- Manu Sporny President/CEO - Digital Bazaar, Inc. blog: Dynamic Spectrum Auctions and Digital Marketplaces http://blog.digitalbazaar.com/2008/04/24/dynamic-spectrum-auctions/
Received on Monday, 12 May 2008 14:38:07 UTC