[
https://issues.apache.org/jira/browse/JENA-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182458#comment-13182458
]
Andy Seaborne commented on JENA-184:
------------------------------------
I have applied the two patches to the ARQ development codebase, run the example
from sparqlProcessor.txt as best I can and it works for me (I get legal JSON
output).
I used a query of
DESCRIBE <http://www.w3.org/2004/02/skos/core#prefLabel>
and
DESCRIBE <http://api.talis.com/stores/mesh-norwegian/items/D016315>
both of which have several skos:alkLabels.
Rurik - please provide an complete minimal example (ideally not using Talis's
remote service as this is unrelated to the RDFJSON out on a local graph).
Extracts from other system that aren't standalone make it hard to know if some
other factor is involved for example other handling of the HttpServletResponse.
I propose we apply these patches.
> RDFJSONWriter writes illegal JSON when there is two objects of the same
> subject-predicate.
> ------------------------------------------------------------------------------------------
>
> Key: JENA-184
> URL: https://issues.apache.org/jira/browse/JENA-184
> Project: Jena
> Issue Type: Bug
> Components: RIOT
> Reporter: Andy Seaborne
> Attachments: Jena184_RDFJSONWriter.java,
> RdfJsonBadObjectListArrayWritingPatch.patch, RdfJsonBadObjectListPatch.patch,
> invalid.json, sparqlProcessor.txt
>
>
> RDFJSONWriter writes illegal JSON when there is two objects of the same
> subject-predicate.
> But the RDF/JSON reader can read the illegal JSON.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira