MaastrichtU-IDS / d2s-sparql-operations

✨️ Execute SPARQL queries from string, URL or multiple files using the RDF4J framework.
https://maastrichtu-ids.github.io/d2s-sparql-operations/
MIT License
1 stars 1 forks source link

Quotes not removed when Split #23

Open vemonet opened 4 years ago

vemonet commented 4 years ago

Split is not removing the quotes. The csv commons lib might be misused:

https://github.com/MaastrichtU-IDS/d2s-sparql-operations/blob/master/src/main/java/nl/unimaas/ids/operations/Split.java#L154

Note that this line raise an error with chemicals.tsv

vemonet commented 4 years ago

https://stackoverflow.com/questions/44697228/csv-parsing-with-commons-csv-quotes-within-quotes-causing-ioexception

@ammar257ammar : "they say that Apache Commons can't handle unescaped quotes in CSV"

Options are: