We developed an application using XML::Simple and XM::Parser. After deploying the application in QA environment, the application failed by throwing the below mentioned error
After debugging the issue, i found that the XML::Simple is using XML::SAX(Version 0.14) module for parsing the XML instead of XML::Parser. And also found that the XML::SAX module (version 0.14) has a bug in its handling of character entities (eg:
) in attributes.
I have the updated the code by setting the XML::Simple preferred parser variable as 'XML::Parser' and the application is working as expected.