Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-109

Support external CSV schema definition

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0
    • Patch Needed, 1.x
    • Parser
    • None

    Description

      As XML has XSD, so CSV needs an external schema definition file which defines the schema of the flat file format and the values it contains. Programmatically adding constraints, as supported by org.supercsv.cellprocessor.constraint.StrRegEx, are useful but not portable. Fortunately, Microsoft has already created such a CSV schema definition file format called Schema.ini.

      It is my suggestion to add file and data parsing validation to Apache Commons CSV by adopting support for Schema.ini, bringing this long overdue functionality to the Java world.

      Attachments

        Activity

          People

            Unassigned Unassigned
            JayZ Jay Zylstra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: