Skip to content

ITS namespace #51

Closed
Closed
@afs

Description

@afs

All the examples are of the form:

<sparql xmlns="http://www.w3.org/2005/sparql-results#"
  xmlns:its="http://www.w3.org/2005/11/its" 
  its:version="2.0">

and the spec notes it is only needed if there are literals with base direction appearing in the results.

Writing a result set may be a streaming process - the contents aren't known when the <sparql ... start element is written, possibly leading to systems always adding xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0".

The main problem with that is the transition impact - RDF 1.1 data but with added its. It shouldn't matter but it is a visible change.

It is also possible to write XML namespaces on other start elements to give an inline form:

    <binding name="x">
        <literal xml:lang="en" xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0" its:dir="ltr">abc</literal>
    </binding>

then it only appears as needed but can become very verbose (compression would be good though).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions