Triply-Dev / YASGUI.YASR-deprecated

Deprecated, see https://github.com/TriplyDB/Yasgui for the Yasgui monorepo
MIT License
26 stars 22 forks source link

CSV download doesn't match standard #132

Closed mlesicko closed 5 years ago

mlesicko commented 5 years ago

The downloaded CSV results are formatted with spaces around the commas:

 "sub" , "pred" , "obj" ,
 "http://www.openlinksw.com/virtrdf-data-formats#default-iid" , "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" , "http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat" ,

From RFC-4180, "Spaces are considered part of a field and should not be ignored.", and the examples in both that document and W3C's CSV on the Web show no spaces around the commas.

These extra spaces cause the downloaded results to display incorrectly when opened in Excel.

LaurensRietveld commented 5 years ago

Fixed by #133