XP is just a number | |
PerlMonks |
Re: XML::Parser breaks onby mirod (Canon) |
on Aug 16, 2001 at 12:09 UTC ( [id://105302]=note: print w/replies, xml ) | Need Help?? |
This is a documented behaviour of XML::Parser. Actually XML::Parser documents the fact that this "can" happen. It actually happens for every entity, line break and expat input buffer boundary crossed. The review gives you a way to deal with it: basically you cannot use the data in the char handler, you just buffer it until you hit a tag (open _or_ close). By the way, did you try XML::RSS? Maybe it would make it easier for you to process your data.
In Section
Seekers of Perl Wisdom
|
|