Re: SAX parsing problem

2005-03-22 Thread Uche Ogbuji
On Wed, 2005-03-16 at 00:14 -0800, gh wrote: > The characters handler routine is fired 3 times for a > single text block. Why does it do this? Is there a way to prevent > doing this? Continuing in the vein of closing matters cross-posted to XML-SIG: http://mail.python.org/pipermail/xml-sig/200

Re: SAX parsing problem

2005-03-16 Thread gh
In article <[EMAIL PROTECTED]>, David M. Cooke <[EMAIL PROTECTED]> wrote: > anon <[EMAIL PROTECTED]> writes: > > > So I've encountered a strange behavior that I'm hoping someone can fill > > me in on. i've written a simple handler that works with one small > > exception, when the parser encounte

Re: SAX parsing problem

2005-03-15 Thread David M. Cooke
anon <[EMAIL PROTECTED]> writes: > So I've encountered a strange behavior that I'm hoping someone can fill > me in on. i've written a simple handler that works with one small > exception, when the parser encounters a line with '&' in it, it > only returns the portion that follows the occurence.

SAX parsing problem

2005-03-15 Thread anon
So I've encountered a strange behavior that I'm hoping someone can fill me in on. i've written a simple handler that works with one small exception, when the parser encounters a line with '&' in it, it only returns the portion that follows the occurence. For example, parsing a file with the lin