Non-blocking SAX XML Parser

mheath mheath at apache.org
Sun Jan 23 01:57:05 EST 2011


I've taken a first stab at writing a non-blocking SAX XML parser.  It's my
first step towards writing an XMPP library that can run on Netty.  The
project is on Google Code, http://code.google.com/p/xmpp-server/.  There are
links on the Google Code site to the source code on GitHub.

Initially I tried using nbxml from the MINA project for doing non-blocking
XML parsing but it's tightly coupled to MINA and there are some other things
in the code that made me feel uneasy about using it.  I also wanted a SAX
parser and nbxml is not a SAX parser.

My parser is by no means complete.  Its biggest known issue is that it
doesn't support <![CDATA[ sections yet.  It does, however, support XML
namespace prefixes although it doesn't do any validation.

If you are interested in doing non-blocking XML parsing, any feedback would
be greatly appreciated.

-Mike
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Non-blocking-SAX-XML-Parser-tp5952266p5952266.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list