0

Is there any software (application/library) which validates *.xml against XSD 1.1 (assert etc.) through script?

Ideally, I 'm searching for an open source solution or a product that doesn't need a paid license.

Thank you in advance!

1

There are three implementations of XSD 1.1 that I'm aware of: Altova, Saxon, and Xerces. The only one that's open source is Xerces.

  • Links would make this a better answer. – Eric Shain Jan 24 at 15:18
  • Feel free to improve my answers if you wish. – Michael Kay Jan 25 at 14:32
  • The point is that it is your answer. I don't know these programs and would have to look up the sites to get links. So would every other person reading your answer. You know these programs and could easily add the links making the answer so much more convenient for everyone else. – Eric Shain Jan 25 at 15:41
0

XMLStar looks like a good candidate for your request.

It seems to be able to validate via command line so you should be able to script it. It validates XSD if you define the xsd file. I am not sure about the license but it's free and the source code is available. Also it's available for

  • Windows
  • Linux
  • Solaris
  • XMLStarlet is a command line interface to the libxml2/libxslt engines, which haven't been upgraded for many years and don't support XSD 1.1 – Michael Kay Jan 24 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.