XML / XSD Schema validation on Mac OS X

January 16, 2009 by Michael

I found no fancy graphical xml validator on OS X, but this isn’t a problem.

OS X includes libxml which comes with xmllint.

To validate a xml file against a schema:

xmllint --noout --schema sitemap.xsd sitemap.xml


  1. Gopal wrote:

    when I used the code “xmllint –noout –schema sitemap.xsd sitemap.xml” for validating the XML against xsd, I got the message as “Segmentation fault”.

    Can I get any help on this.


    Posted on October 24, 2012 at 7:30 AM | Permalink
  2. Brian Bowman wrote:

    So easy. Thanks.

    Posted on August 26, 2013 at 7:42 PM | Permalink
  3. Michael wrote:

    You’re welcome.

    Posted on August 27, 2013 at 9:16 AM | Permalink
Post a Comment

Your email is never published nor shared. Required fields are marked *