views:

16

answers:

0

Hi, i have to validata a csv file using xsd schemas that is provided with the file to validate.

I was thinking to validate the file with datatable but the problem is that datatable doesn't accept some restrictions like minLegth and facets that i need to control some values.

Is saw xmlSchemaSet but it validates xml files and i don't know if it's possible to validate single records that are provided to the validation module as an array with the elements inside, to say if i have a record with 4 fields the validation module will take as input an array of 4 strings.