Skip to content

Validate does not seem to handle double quotes like most CSV writers/readers #478

Answered by pds-ops
jordanpadams asked this question in Q&A
Discussion options

You must be logged in to vote

Great question, Jordan! The PDS Delimiter Separate Value (DSV) formats is "based upon" RFC 4180, but has been customized. Per section 4C.1, bullet 6 of the PDS4 Standards Reference:

Fields may optionally be bracketed by a pair of bounding double quotes...
If bracketing double quotes are used, there may be no double quotes within the field itself.

So unfortunately, this validation failure is correct. Preprocessing would be required in order to make this valid according to the PDS DSV. Hope that helps!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wkiri
Comment options

@jordanpadams
Comment options

@wkiri
Comment options

Answer selected by pds-ops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants