Purpose: This test checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "" and preserves the xml:lang value. The text, with control characters and whitespace preserved, reads "Greek\nwhite space\n".
====================== Test Case 108 ============================= ---------------------Test Case 108 XHTML-------------------------- <!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 0108</title> </head> <body> <p about="http://example.org/node" property="ex:property" datatype="" xml:lang="el">ελληνικό άσπρο διάστημα </p> </body> </html> ---------------------------------------------------------------- ---------------------Test Case 108 SPARQL ----------------------- ASK WHERE { <http://example.org/node> <http://example.org/property> "ελληνικό\nάσπρο διάστημα\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/