W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2011

Testing the tests: rand01

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Mon, 18 Jul 2011 20:31:32 +0100
Message-ID: <4E248A14.9010208@epimorphics.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
The RAND test result has bad XML:

http://www.w3.org/2009/sparql/docs/tests/data-sparql11/functions/rand01.srx

<?xml version="1.0" encoding="utf-8"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
<boolean>true</boolean>
</sparql>


should be:
<?xml version="1.0" encoding="utf-8"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
   <head></head>
   <boolean>true</boolean>
</sparql>


The SPARQL XML results fomat requires a <head></head> even for ASK 
results.  Section 2.2 isn't conditional on the type of results (ASK / 
SELECT).  You may wish to put in a <link>.

and it's in the example:
http://www.w3.org/TR/rdf-sparql-XMLres/#examples

	Andy
Received on Monday, 18 July 2011 19:32:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:46 GMT