in reply to problem with XML::Parser
Yes, everyone has the same problem. It's documented: A single non-markup sequence of characters may generate multiple calls to this handler (from the doc of the Char handler).
You need to buffer the text in the Char handler, and use it when you get to the next tag. See XML::Parser for more info.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem with XML::Parser
by Paulux (Acolyte) on Jun 19, 2009 at 07:27 UTC | |
by mirod (Canon) on Jun 19, 2009 at 07:58 UTC |