We have to validate a CSV file containing various configuration parameters. Are there any standard design patterns to do this type of validation.
More details:
- There are different types of records - each with their own validation logic
- Certain records cross reference other records
- There are rules on the order of the records
- There are rules on the eligibility of duplicate records
- etc