I am afraid this might be a mod_perl / Expat problem.
<mode type="cover_my_a**">XML::Twig does not modify the string in any way before it is sent to XML::Parser (or actually to XML::Parser::Expat).</mode>
That said I have never used XML::Twig under mod_perl and I am not familiar with what can go wrong when you do so.
What I know is that there are version conflicts between the version of Expat that comes with XML::Parser and the one that comes with Apache (yes Apache comes with Expat, and it is installed by default as a static library). The only way to be really sure that everything is fine is, IIRC, to first install the lastest Expat from sourceforge, then to install XML::Parser 2.30, then to recompile apache with Expat as a dynamic library. Instructions to do so can be found on Matt Seargeant's AxKit site at http://axkit.org/faq.xml. I can't say that's the problem, but I would definitely not rule it out. Try doing /path/to/apache/bin/httpd | grep -i XML and if you get any result then it might be the problem.
If this fails then post (or send me) the code.
In reply to Re: XML::Twig-parse() error under CGI
by mirod
in thread XML::Twig-parse() error under CGI
by DrSax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |