MinML2 a namespace aware minimal XML parser

MinML2 is a small footprint namespace aware XML parser.

As with MinML we left some stuff out

  • DTDs read but ignored

but we managed to fit quite a lot in

  • Mixed content

  • Attributes

  • Empty elements

  • Entity references (&, etc)

  • Character references (©, etc)

  • CDATA sections

We support SAX2 and have added a simple extension (by subclassing org.xml.sax.XMLReader) that allows access to the parser's namespaces tables to allow the program using the parser to properly resolve namspace tags in element bodies (e.g. in a SOAP <faultcode> element) .

MinML2 is quite small. The jar file is ~17Kb and the more compact tini archive is ~11Kb.

We are making the source available under a BSD style licence. 

You can download the latest stable version (0.3 released 25th November 2001) from here.

We are very keen to get feedback on this code. If you find a bug please tell us!