sdmx-twg / sdmx-csv

This repository is used for maintaining the SDMX-CSV message specifications.
12 stars 6 forks source link

Error in sdmx-csv-field-guide.md example #18 #30

Open khaeru opened 3 weeks ago

khaeru commented 3 weeks ago

The file contains: https://github.com/sdmx-twg/sdmx-csv/blob/3f8211f1c2ecfb83b8033d586fb6acc598773c74/data-message/docs/sdmx-csv-field-guide.md?plain=1#L257-L263

and also says:

the RFC specifies that all records must have an identical structure (determined column number)

The second and third lines of the snippet contain erroneous trailing commas:

STRUCTURE STRUCTURE_ID ACTION DIM_2 DIM_3 (nothing; end of line)
dataflow ESTAT:NA_MAIN(1.6.0) D A (empty) (additional ,)
dataflow ESTAT:NA_MAIN(1.6.0) D B C (additional ,)

These lines thus have six columns (the sixth is empty), while the header has five.