[
https://issues.apache.org/jira/browse/JENA-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Vesse updated JENA-206:
---------------------------
Attachment: RdfJsonUnescapedStringsPatch.patch
Patch which fixes JSWriter so that value(String value) calls
outputQuotedString() rather than printing the quotes manually and the string
verbatim
Adds additional test to TestOutputRDFJSON which covers escaping of various
characters
> RDFJSONWriter does not escape escape characters
> -----------------------------------------------
>
> Key: JENA-206
> URL: https://issues.apache.org/jira/browse/JENA-206
> Project: Jena
> Issue Type: Bug
> Components: ARQ
> Affects Versions: ARQ 2.9.1
> Reporter: Rurik Thomas Greenall
> Labels: arq, json
> Attachments: RdfJsonUnescapedStringsPatch.patch, json-unescaped.txt
>
>
> RDFJSONWiter does not escape RDF data containing inverted commas (")
> properly, so the JSON output is illegal.
--
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