[jdom-interest] Using NanoXML and JDOM

Kyle F. Downey kdowney at amberarcher.com
Wed Sep 19 13:55:59 PDT 2001

What about org.xml.sax.helpers.ParserAdapter? It adapts a SAX1 Parser
to look like a SAX2 XMLReader, according to the Javadoc. You should use
this to wrap the NanoXML parser and not even need to write a builder.



> >
> > Is it possible to use another SAX parser than the ones that comes with
> > JDOM?
> > I was thinking about NanoXML.
> Yes and no.  Any SAX2 parser can be hooked up to SAXBuilder but on a 1
> minute perusal, NanoXML has a SAX1 interface.  You would have to write your
> own builder to use a sax1 parser but it is not that hard if you take
> SAXHandler as an example.
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list