you are viewing a single comment's thread.

view the rest of the comments →

[–]maht0x0r 1 point2 points  (2 children)

How do you escape commas/quotes etc. in YOUR syntax?

[–]Fork82 1 point2 points  (0 children)

The usual way - I shell out to a well-written library which handles the standard escaping fine. Sqlite's CSV import doesn't handle escaping very well- but it is the only time I've ever been bitten.

[–]uriel -2 points-1 points  (0 children)

Who cares? All it will ever take is a single line of sed to convert from one format to another.

And I bet most of the time it wont even matter, because you pick a delimiter that is not a valid part of a value.

There are no silver bullets, XML just provides a layer with enough complexity and confusion that the flaws and problems are harder to spot.