logo       

Re: Error message- ParserDetails.ini?: msg#00058

lang.perl.xml

Subject: Re: Error message- ParserDetails.ini?

Sullivan, Patrick wrote:
>
> "could not find ParserDetails.ini in E:/Perl/site/lib/XML/SAX"
>
> Any ideas on what is suppose to be in that file?

This is a frequently asked question, but I haven't put it in the FAQ yet because I'm not sure what resolution is working for people, so let me know what works for you:

The error "could not find ParserDetails.ini" results from a failure to create the file during the installation of XML::SAX. If you are using ActivePerl, the following command should resolve the problem:

ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-SAX.ppd

Alternatively, using CPAN.pm to install XML::SAX in the normal way should work:

http://perl-xml.sourceforge.net/faq/#win32_cpan

Manually unpacking the distribution and copying the files to your Perl lib directly definitely will *not* work.

Once you have SAX working, you should consider installing a module such as XML::SAX::Expat (or XML::LibXML) to replace the slower Pure Perl parser bundled with SAX.

>
> Also Grant, does XML::Simple have any problems with CDATA?

No. XML::Simple uses the default SAX parser or XML::Parser for the actual parsing so CDATA can be read in fine.

Regards
Grant


_______________________________________________
Perl-XML mailing list
Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise