Problem with Sax

S

Schmand

Hi

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?
 
J

Joseph Kesselman

at some point the Parser reads in exactly 2048 characters and
terminates.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top