Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 0 down vote accepted

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

However, see http://stackoverflow.com/questions/124865/xml-schema-xsd-validation-tool

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 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 at 16:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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