At the office we are currently writing an application that will generate XML files against a schema that we were given. We have the schema in an .XSD file.
Are there tool or libraries that we can use for automated testing to check that the generated XML matches the schema?
We would prefer free tools that are appropriate for commercial use although we won’t be bundling the schema checker so it only needs to be usable by devs during development.
Our development language is C++ if that makes any difference, although I don’t think it should as we could generate the xml file and then do validation by calling a separate program in the test.