in reply to XML::Parser query

1. What is the error?
2. How much is "large?"
3. How much memory are you working with?

Replies are listed 'Best First'.
Re: Re: XML::Parser query
by Anonymous Monk on Apr 14, 2001 at 00:11 UTC
    Seems like problem is not size, the content of a single element is causing two successive calls to the character handler each with a part of the complete string. And surprisingly i am parsing approx 3000 lines and it split only on 1 line and that causes wrong argument pass to the next program and my program dies. Do you have any idea about that?Thanks for all your reply.

      This is a documented behaviour of XML::Parser. Please read the docs. Due to its buffering strategy this can happen.

      See the review (XML::Parser) for a way to cope with it.