You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/14 17:37:14 UTC

[jira] [Commented] (JENA-695) SPARQL CSV results parser does not account for variable names enclosed in quotes

    [ https://issues.apache.org/jira/browse/JENA-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997652#comment-13997652 ] 

ASF subversion and git services commented on JENA-695:
------------------------------------------------------

Commit 1594604 from [~rvesse] in branch 'jena/trunk'
[ https://svn.apache.org/r1594604 ]

Fix for JENA-695, allow variable names in CSV input to be enclosed in quotes

> 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=WJhSmvZz7DWFnYBvnGFkj7RQe2wxfTg@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)