GXPARSE is not a new XML parser, but is an additional processing layer that makes it much easier to use event-based parsers like the SAX parser. It supports both direct sequential output and random access output (via the Resequencer interface). The random access mode delays output until all input has been processed, but makes it much easier to handle ID/IDREF attributes. GXPARSE maintains most advantages of the event-based parser. Application development and maintenance is considerably easier, but processing is a little slower.
| Tags | Text Processing Markup XML DocBook General |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | Java |
Recent releases


Changes: Pattern matching was simplified. A new class (Modifier) of operators makes it easy to build complex patterns and to do recursive pattern matching. The ScanRule class works like a Perl pattern-codeblock rule. Preliminary examples show how to do recursive-descent parsing with subclasses of ScanRule and ScanMatch.


Changes: This release implements pattern matching tools using the Java regular expression package. The tools can be used like the pattern-action rules of awk and Perl, and can also be used for recursive pattern matching. Recursive pattern matching can recognize nested sets of parentheses, and can be used to implement recursive-descent parsers.


Changes: This program was refactored, the beginning of a user guide was written. Programming examples and the docbook-to-HTML translator that produced the Web version of the user guide were included.


Changes: This release features full XML namespace support, with an ElementMapper implementation that can handle namespaces. There are more informative exceptions.


Changes: API changes have been made to Parser, Listener, and ElementMapper. These changes will be used to support namespaces, and to support modular design in large applications.
- All comments
Recent commentsRevised files
Files uploaded 2005-08-23 are deleted and replaced by five new files. New files have a timestamp suffix (YYYYMMDD-HHMM) to make the names unique in a SourceForge directory. The suffixes have no defined relation to the software version.
Preliminary documentation
The article "Generic XML Stream Parser API" at http://www.mulberrytech.com/Extreme/Proceedings/html/2004/Gorman01/EML2004Gorman01.html can be used as a preliminary user guide. The article describes version gxparse-sf-alpha-1_3. The code examples will require modification when used with version gxparse-sf-alpha-1_4, but the article will still be a useful guide.