Am running latest version of XML::Simple. Read through doco.
Main Topics
Browse All TopicsJust upgraded to Perl 5.8.8. XML::SImple used to parse my file of XML data with no problem. Now get this error,
use XML::Simple;
my $xml_parser = new XML::Simple;
$out = $xml_parser->XMLin($xml_fi
No _parse_* routine defined on this driver (If it is a filter, remember to set the Parent property. If you call the parse() method, make sure to set a Source. You may want to call parse_uri, parse_string or parse_file instead.) [XML::SAX::Expat=HASH(0x82
The default parser, XML::SAX::Expat is installed and tested ok.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
See comment #2 here: http://aspn.activestate.co
Thanks mjcoyne, have read the comment. I am not calling parse_file directly, this is done internally bey XML::Simple.. My problem is that XML::Simple used to work fine, but now wont parse anything since I upgraded perl. Have sifted thru module source code, but completely stumped on this one.
(using Linux RH9)
OK, found the error. The shared object Expat.so did not have the right permsissions, along with it's paretn diredtories.
This has caused me other problems. I upgraded my CPAN module and installed several modules with it but the directory permissions are wrong, no read access for 'other'. I used a umask of 002 but still a problem.
Am happy to raise this as a new question with 500 points if anyone has an idea of what is causing the problem.
Business Accounts
Answer for Membership
by: Perl_DiverPosted on 2006-11-22 at 01:56:09ID: 17994240
update your XML::Simple module and see if that helps. Also read the documentation of the newest version of XML::Simple