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

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,737
Latest member
Georgeengab

Latest Threads

Top