I am desiging validation method for our application. The application stores
configuration and other data in the XML file. I want each time app opens XML
file to validate the file against scheme.
The XML file will definitely change in the future, so the validation scheme
should address the cases when old app opens new file and vice verse new app
opens old file. Obviously some data might be missing or new data might be
present which schema doesn't recognize.
I wonder whether XSD schema offers that kind of flexibility and whether I am
going in the right direction? Should I use XSD schema validation at all? Are
there other approaches to validate the XML file for the cases I described
above?
Thanks in advance