Hello On Tue, Sep 30, 2008 at 11:42:13AM -0400, Eric Will wrote: > On Tue, Sep 30, 2008 at 9:57 AM, Remko Tronçon <[EMAIL PROTECTED]> wrote: > > Hmm, how can a SAX parser complain about a partial XML file? SAX *is* > > incremental. It would probably help if you described in a high level > > how your parser works, how you feed it data, ... > > It doesn't complain about a partial file. If I pass it a partial > stanza, with say the end tag only halfway finished, like "</prese" it > raises an exception. The exception tells me nothing that I can use to > isolate the incomplete stanza and save it to be appended onto later.
Strange. Mine (Qt version of Sax parser) does not. But I enabled the „incremental“ feature ‒ it allows putting data into it in bits. It just remembers the start and once it gets more data, it resumes. You probably have some similar switch for the parser, too. -- All flame and insults will go to /dev/null (if they fit) Michal 'vorner' Vaner
pgp2b8J1fIpYd.pgp
Description: PGP signature
_______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
