[ 
https://issues.apache.org/jira/browse/JENA-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne closed JENA-695.
------------------------------


> SPARQL CSV results parser does not account for variable names enclosed in 
> quotes
> --------------------------------------------------------------------------------
>
>                 Key: JENA-695
>                 URL: https://issues.apache.org/jira/browse/JENA-695
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: Jena 2.11.1
>            Reporter: Rob Vesse
>            Assignee: Rob Vesse
>             Fix For: Jena 2.11.2
>
>
> This issue was discovered in debugging a user issue reported on the mailing 
> list at 
> http://mail-archives.apache.org/mod_mbox/jena-users/201405.mbox/%3cCADDK7bzUkb4Ek56PqE=wjhsmvzz7dwfnybvngfkj7rqe2wx...@mail.gmail.com%3e
> Upon investigation the problem was determined to be that the endpoint was 
> returning CSV with the variable names enclosed in quote marks e.g. {{"var"}} 
> which is perfectly valid CSV field encoding.
> Unfortunately the CSV results parser does not cope with this and produce the 
> variable name {{"var"}} rather than {{var}} meaning users cannot access 
> variables using the correct names and are forced to use hacky workarounds 
> like {{\"var\"}} because the quotes have to be escaped in Java strings



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to