Problem with Sax

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Schmand

    Problem with Sax


    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?
  • Joseph Kesselman

    #2
    Re: Problem with Sax

    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.


    --
    Joe Kesselman / Beware the fury of a patient man. -- John Dryden

    Comment

    Working...