eXPatCOM 
| resources: | Home Issues Examples Source Build Installation Mailing List Members |
|---|
What's New
- Alpha Release
(2003/03/31) - Project Kickoff
(2003/03/24) - mozdev.org
The eXPatCOM project wraps an XPCOM object around the expat XML parser which is used internally by Mozilla. The result is a scriptable XML parser supporting callbacks.
The parser object is configured by passing it an Actions object which handles all of the callbacks as method calls. Execution of the parsing function is by passing in an input stream, which is driven by an input stream pump. This provides an asynchronous behavior by default, though an optional call can be used to wait until parsing is finished.
I constructed this component for several reasons:
- Generalized parsing
sometimes I just don't want a DOM parse - No parse tree
sometimes I don't want an interim parse tree product - Large sources
which are not terribly scalable with parse tree interim products - Playtime
I wanted to build a C++/XPCOM entity just because
This project is in an alpha stage. There is some code, but it has only been tested on a single Linux system and it is not packaged for easy installation. Be prepared to build it yourself!
In addition, there are a bunch of issues regarding the way I built the code. I anticipate changes driven by user feedback.