SPARQL Query Results XML Format Errata
Closed this issue · 4 comments
From https://www.w3.org/2013/sparql-errata#rdf-sparql-XMLres
- https://www.w3.org/2013/sparql-errata#errata-results-1 - Incorrect XML namespaces.
- https://www.w3.org/2013/sparql-errata#errata-results-2 - xsi:schemaLocation should be a pair of URIs.
Regarding the 2005
vs 2007
namespace. Which one do we choose to treat as the appropriate one? The examples in the doc are 2005
but the schemas are 2007
.
https://www.w3.org/2005/sparql-results says it replaces 2005/06.
https://www.w3.org/2005/06/sparqlResults says it is replaced by https://www.w3.org/2005/sparql-results.
So I'm not clear what the right answer is or if there is a non-breaking right answer.
We may need to see what deployed systems implement.
It is as if the schema is called https://www.w3.org/2005/sparql-results
and the schema defines terms in the XML namespace http://www.w3.org/2007/SPARQL/results#
.
http://www.w3.org/2007/SPARQL/results#
does not dereference.
I believe the namespace http://www.w3.org/2005/sparql-results#
is the desired one.
It may be just the targetNamespace
in https://www.w3.org/2007/SPARQL/result.xsd that is incorrect, and may have to be updated to http://www.w3.org/2005/sparql-results#
.
Now that #7 has been merged, the only thing that remains, is to update the links to the rnc, rng, and xsd files before this issue can be closed.