BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
661 stars 268 forks source link

CSV Parsing: Skip empty fields #2203

Closed ChristianGruen closed 1 year ago

ChristianGruen commented 1 year ago

See https://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg15251.html

Many CSV files contain empty fields, which could be skipped in the XML representation.

We should introduce a new CSV option skip-empty to ignore zero-length fields. It can be applied if

  1. header is yes and
  2. format is attributes or direct.
ChristianGruen commented 1 year ago

Documentation: https://docs.basex.org/wiki/CSV_Module#Options Snapshot: https://files.basex.org/releases/latest/