I've now updated saxlib with - a driver for David Scheres parser - a demo SAX application for parser benchmarking - saxdemo.py can now output canonical XML as well, which is nice for comparing parser output with James Clarks XP for testing. - some other minor changes The web page has also been updated with some links to the different packages that have been announced and a page with benchmark results. The URL is still <URL:http://www.stud.ifi.uio.no/~larsga/download/python/xml/> BTW: I've looked at the xmltok package and from the Python demo it looks nice and simple. However, to be able to make and test a driver I'll have to find out how to load C modules into Python and to be frank I haven't a clue as to how I to do that. So since there is so much else to do I'm putting the SAX driver on hold. If someone else can pick it up, that would be nice. If not I'll get round to it myself eventually. And as I'll have to start using the C module eventually: pointers to clues on how to do it would be appreciated. :) -- "These are, as I began, cumbersome ways / to kill a man. Simpler, direct, and much more neat / is to see that he is living somewhere in the middle / of the twentieth century, and leave him there." -- Edwin Brock http://www.stud.ifi.uio.no/~larsga/ http://birk105.studby.uio.no/ _______________ DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org _______________
Lars Marius Garshol wrote:
The URL is still <URL:http://www.stud.ifi.uio.no/~larsga/download/python/xml/>
I've looked at SaxLib and it seems like a very straightforward (and thus elegant) transliteration of the Java version. Your extensions seem quite appropriate. I propose that we "bless" this as the "standard" Python sax interface and call it Sax.py version 0.9. As we get more experience and are confident there are no bugs, we can promote it to version 1.0.
And as I'll have to start using the C module eventually: pointers to clues on how to do it would be appreciated. :)
It really wasn't hard. I was worried that it would be painful the first time I did it, but it turns out to be trivial, because of the great design of the build system. Just look in the "modules" directory. Essentially you copy the module in, add a line to the setup file and recompile! Paul Prescod - http://itrc.uwaterloo.ca/~papresco "You have the wrong number." "Eh? Isn't that the Odeon?" "No, this is the Great Theater of Life. Admission is free, but the taxation is mortal. You come when you can, and leave when you must. The show is continuous. Good-night." -- Robertson Davies, "The Cunning Man" _______________ DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org _______________
participants (2)
-
Lars Marius Garshol -
Paul Prescod