Problem with Sax
I'm trying to use Sax to parse very large XML files. 100's of megs. I
think that I'm using the right parser 2.9 from Xerces. The problem is
tbat at some point the Parser reads in exactly 2048 characters and
terminates. Anyone see anything like this before?
Re: Problem with Sax
> at some point the Parser reads in exactly 2048 characters and
Please clarify what you mean by "terminates".
If you mean "that's all that gets delivered in a single characters()
call", this may be normal operation; SAX reservers the right to split
text content over multiple calls to characters(), and it's the
application's responsibility to deal with that.
If you mean "parsing stops", that's not expected, but also not
diagnosable without a lot more info.
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
|All times are GMT. The time now is 10:40 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.