Small error in example used in SPARQL spec section 10.3 ASK

Hello,

I haven't seen this noted anywhere yet so I wanted to point it out in
case it can be corrected in the future.

The ASK example in the SPARQL query spec disagrees with the SPARQL Query
Results XML Format recommendation (http://www.w3.org/TR/rdf-sparql-XMLres/).

See http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#ask

The erroneous example is as follows:
<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
  <head></head>
  <results>
    <boolean>true</boolean>
  </results>
</sparql>

The results XML format rec requires the 'boolean' element be a child of
the 'sparql' element. Similarly, the JSON serialization note has that
structure as well: http://www.w3.org/TR/rdf-sparql-json-res/

-- 
Jordi Albornoz Mulligan
Founding Engineer - Cambridge Semantics
jordi@cambridgesemantics.com
(617) 401-7321

Received on Wednesday, 2 July 2008 15:26:53 UTC