> I've used XML schemata (DTDs and XSDs) for many years and they have served
> me very well. Their use has helped me avoid many traps in data that I
> generate and in data that I accept from others, and they have amply paid for
> their use repeatedly.
One issue I still haven't found a good solution or answer to is when
you have additional 'business rules' validation performed by the
application:
- application parses the xml and validates it using the xsd
- the application then performs some additional validation of 'business rules'
This has the following problem:
- the xsd alone isn't sufficient for a 3rd party to check the xml will
parse successfully
Do you then:
- move all the business rules into the XSD ?
or
- provide 3rd parties with the parsing side of your app, so they can
verify the xml using that ?