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|
|Operating Systems||OS Independent|
Release Notes: 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.
Release Notes: 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.
Release Notes: 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.
Release Notes: This release features full XML namespace support, with an ElementMapper implementation that can handle namespaces. There are more informative exceptions.
Release Notes: 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.