title: XML Schema (XSD) validation tool?
body: <p>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.</p>
  
  <p>Are there tool or libraries that we can use for automated testing to check that the generated XML matches the schema?</p>
  
  <p>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.</p>
  
  <p>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.</p>