in reply to Maximum parsing depth with XML::Parser?

If you have an XML file with invalid elements, then it is not a valid XML file and should not be parsable by any validating XML tool.

Therefore XML::Parser both can and will have problems with it.

Instead you will either need to roll your own parser or else properly escape the text before you place it within the text tag so you have valid XML.

  • Comment on RE: Maximum parsing depth with XML::Parser?