XML parsers are not like HTML parsers where they will just try to continue
making sense out of any random text you throw at them. One you've hit an
error from which the parser cannot know for sure how to recover correctly,
its not going to go any further. You have to feed the parser well formed
XML, because that's all that it parses. You can make it sometimes do better
by turning failOnFirstError off. But it will still often decide that it
cannot go any further safely and refuse to continue.
--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: Wayne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 8:13 AM
To: [EMAIL PROTECTED]
Subject: question about progressive parse
Hello,
I am trying to parse XML document sent from remote site. Because
I don't have the content length field for the XML document, I have
to parse it progressively. The problem is after encountered an
error due to incomplete content, I cannot continue the parse using
SAXParser::parseNext() though I have saved the last correct state
of XMLPScanToken.
Is there someone know the answer?
thx,
wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]