cite-architecture / sparqlcts

A servlet implementing the Canonical Text Services protocol backed by a SPARQL end point.
1 stars 1 forks source link

Add explicit 'output=xml' flag to SparQL requests, when XML is desired #8

Closed Eumaeus closed 10 years ago

Eumaeus commented 10 years ago

Fuseki, as of any version after 0.2.3 defaults to json. The current CtsGraph.groovy script explicitly asks for json when that is the desired output, but does not explicitly ask for xml. Hence the "no content allowed in prolog" errors on CTS request.

(Object- and Image-requests use JSON, so this isn't a problem.)