I agree with what tilly says aboutXML::Parser not parsing invalid XML, but you might be able to work around it.
It depends which XML::Parser style you're using. If you're using the 'Subs' style or defiing your own handlers, then it might be possible to set a global flag within the subroutine that recognises a text element. You could then check for this flag in other subs and do nothing if it's one. You'd reset the flag when you see the end of the text tag.
--In reply to Re: Maximum parsing depth with XML::Parser?
by davorg
in thread Maximum parsing depth with XML::Parser?
by ar0n
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |