> 2. generateDS.py generates parsers that use minidom, >whereas, for large XML input documents at least, it would >be preferable if a SAX parser were used.
>
> Dave replies: I'm working on this one. You are right. It >needs to be done. However, since all of my own use of >generateDS.py has been with small documents, I probably >won't be fixing it too quickly.
It's done. Now, generateDS.py also generates SAX parsers.
A qualification: The generated SAX parser still builds a tree; it just does not build a DOM tree. So using generateDS.py parsers on *huge* documents is still a questionable thing to do.
You can find the new version at:
http://www.rexx.com/~dkuhlman/generateDS.html
http://www.rexx.com/~dkuhlman/generateDS-1.4a.tar.gz
Thanks to Uche for motivating me to fix this.
Dave
|