[JDEV] Re: Re: missing </stream:stream>
Thomas Charron
tcharron at ductape.net
Thu Sep 21 16:24:07 CDT 2000
Quoting Robert Temple <robert.temple at dig.com>:
> Yes, if there is some way to periodically feed a SAX parser data I would be
> fine. But I haven't found that way yet. If you think I've overlooked
> sometime, please tell me. I'd love to use SAX in that way.
What SAX parser are you using currently? Most (that I've used) SAX based
parsers basically have the ability to parse, and 'parse more', where you can
feed the parser bits of XML at a time. I'm not sure I can see how you could
possibly run Jabber on a SAX parser that didn;t have this capability, due to
the fact that your document never closes untill logoff, so you *BY NATURE* have
to be able to incrementally parse. It's the same reason why DOM parsers can;t
work. They don;t give you anything back untill the entire document is parsed..
---
Thomas Charron
<< Wanted: One decent sig >>
<< Preferably litle used >>
<< and stored in garage. ?>>
More information about the JDev
mailing list