Would this not be a good place to use the Apache CSV parser?

http://commons.apache.org/proper/commons-csv/


On Wed, May 14, 2014 at 4:39 PM, Rob Vesse (JIRA) <[email protected]> wrote:

>
>      [
> https://issues.apache.org/jira/browse/JENA-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Rob Vesse resolved JENA-695.
> ----------------------------
>
>     Resolution: Fixed
>
> Fix has been applied to trunk
>
> > 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)
>



-- 
I like: Like Like - The likeliest place on the web<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to