GXPARSE hosted by SourceForge.net Logo

GXPARSE: Generic XML Stream Parser API and Supporting Tools.


ca.gorman.io Supplements java.io with additional stream classes that are useful when parsing XML streams.
ca.gorman.util.scan Text scanning tools that can do pattern matching and recursive descent parsing in character sequences, character streams, and character buffers.
ca.gorman.util.scan.spi Toolkit for implementing a XML pattern matching API on Java character sequences.
ca.gorman.xml.parse Generic XML stream parser API that makes it much easier to use event-based parsers like SAXParser.
ca.gorman.xml.parse.sax Provides a Parser facade and a Listener interface for SAXParser and XMLReader.
ca.gorman.xml.parse.toolkit Toolkit for implementing XML stream parser on event-based parsers like the SAX parser.
ca.gorman.xml.parse.util Provides tools for application development.


GXPARSE: Generic XML Stream Parser API and Supporting Tools.

GXPARSE includes a generic XML parser API that will reduce the cost of application development and maintenance with event-based parsers like the SAX parser. GXPARSE also includes some tools for implementing the API on event-based XML parsers. These tools were used for the implementation (on the SAX parser in Java SDK 1.4.2) that is included with GXPARSE. All of the software is under GNU Lesser General Public License.

GXPARSE is not a new parser, it is an additional layer of processing to be used over an existing event-based parser like David Megginson's SAX parser. GXPARSE maintains most of the advantages (reliability, compliance to standards, etc.) of the event-based parser and adds the advantage of much lower cost for application development and maintenance. The one disadvantage of GXPARSE is a somewhat reduced processing speed, because the API adds another layer of processing between the application and the event-based XML parser, and because GXPARSE provides enhanced services that won't be needed in some applications.

The implementation included with GXPARSE focuses on simplicity, programming safety, and the provision of a range of generic services, rather than on optimizations like speed of processing. Consequently, some users may wish to re-implement the API after using the included implementation to try out GXPARSE.

For additional information, go to the parser API, the Listener interface, and the ElementListener interface.

GXPARSE download

GXPARSE Generic XML Stream Parser API and supporting tools.   Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004 Ian E. Gorman
Released under GNU Lesser General Public License