Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Well, the title is the question. I want to validate XML files against an XML Schema, and I need a tool for that purpose. In fact I have multiple .xsd files, therefore online tools won't really work.

Operating system: Anything Unix, OS X

share|improve this question
up vote 1 down vote accepted

I wrote one in Java for my own use - Java has XML parsing libraries that validate against XSD.

However, see

xmllint may be suitable, It may well be already present in a Linux system.

share|improve this answer
Oh, thanks - sorry for the duplicate question. xmllint is there and it does the job quite well. – slhck Mar 8 '11 at 11:42
@RedGrittyBrick Unfortuatnely xmllint doesn't seem to support XML 1.1 - is this correct? – David Doria Mar 20 '14 at 16:04
@RedGrittyBrick Interesting. I had read that 1.1 was supposed to enable unordered extensions (in 1.0 an extension of a type must only use 'sequence', 'all' is not allowed). That is the only reason I was going to try to use 1.1. – David Doria Mar 20 '14 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .