XML Nanny goes open source!

November 25th, 2007

XML Nanny is now an open source project (BSD license) on Google Code!

XML Nanny is a free (as in beer) Cocoa application for Mac OS X Tiger that allows you to parse and validate local or remote XML documents against DTD, W3C XML Schema, RELAX NG, and Schematron schemas.

XML Nanny 2.0 has added many new features:

  • RELAX NG Support. Use XML Nanny to validate XML instance documents against RELAX NG schemas in both XML and compact syntax!
  • Schematron 1.5 Support. Use XML Nanny to validate instance docs against Schematron schemas with assertions, reports, pattern tests, and diagnostic information reported throught the UI.
  • Specify XSD, RNG and RNC files through the UI. So far, you can’t do this for DTDs… for those you still need to embed a DOCTYPE in your instance doc.
  • Specify your desired validation type (None, DTD, WXS, RNG, RNC or schematron) through the UI.
  • Verbose Parsing mode provides intimate instance doc/DTD details through the UI… kinda like a visual SAX parser.
  • Saved parse settings to .nanny files. This is XML Nanny’s answer to bookmarking. Set up an XML Nanny window with your parse settings and save them to disk for use later or for sharing with friends! :)
  • Open errors in source document in BBEdit for editing. Now you can click on an error or warning item in the XML Nanny result list to open the source document in BBEdit with the error highlighted. In the future, we will generalize this to use of the external editor of your choice.
  • Mime-type and encoding values sent to XML Nanny from a web server via HTTP headers are now reported.
  • Internal DTD subsets now supported (a nasty bug in XML Nanny 1.0 would cause a crash on encountering an internal subset).
  • XML Namespace setting allows you to parse with namespaces on or off.
  • Full-Contstraint Check setting for XSD parsing.
  • Change result text size using command-+ and command-minus.