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

Andy Seaborne commented on JENA-696:
------------------------------------

There are no non-snapshot releases of commons CSV (as of 2014/05/15)

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

The good news is that SPARQL CSV is probably quite RFC compliant CSV (e.g. the 
separators are "," -- this is not universal for CSV files by a long way)

> SPARQL CSV Parser does not handled escaped quotes
> -------------------------------------------------
>
>                 Key: JENA-696
>                 URL: https://issues.apache.org/jira/browse/JENA-696
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Andy Seaborne
>            Priority: Minor
>         Attachments: CSVParser.java, TestCSVParser.java
>
>
> If we are going to commit to a CSV back to results set attempt then it'll 
> need to handle "" inside "..."
> Example:
> {noformat}
>             String x = "x\n\"123\"\"456\"" ;
>             byte[] b = StrUtils.asUTF8bytes(x) ;
>             ResultSet rs = CSVInput.fromCSV(new ByteArrayInputStream(b)) ;
>             ResultSetFormatter.out(rs); 
> {noformat}
> gives
> {noformat}
> Error Parsing CSV results at Line 2 - Expected comma after quote
> {noformat}



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

Reply via email to