We have a batch job written in
Java which accepts data in the form of files in CSV format. Would it be better to have data coming in XML format since then we can have a schema to maintain consistency across dataset and validate the data against the schema. Do we have any such facility in CSV file format?
Also, is there any way to continue accepting files in CSV format and convert them over to XML at our end? Any good practices around that?
Thanks in advance!