Using the SAX-parser
Peter Andersson <[email protected]> Mon, 30 May 2005 14:39:45 +0200
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm having slight trouble implementing a subclass of sax-parser in Allegro CL. In the documentation (http://www.franz.com/support/documentation/7.0/doc/sax.htm) it says I can copy the example code and run it as is. This gives me a class forward reference error on the superclass of the handler. This was solved by exchanging the superclass definition in the example-code of test-sax-parser and sax-count-parser to net.xml.sax:sax-parser. The trouble I'm having now is that the callbacks in my copied-from-the-documentation-and-changed-to-package-named-superclass sax-parser doesn't get its callbacks called at execution, otherwise it runs atleast. The predefined test-sax-parser class works fine, but not if I copy the code from documentation and try to run it. Anyone have a quick solution for me or can point me at one? Thanks in advance, /:Peter Andersson