in reply to Re^2: Building XML::Parser and getting it wrong everytime
in thread Building XML::Parser and getting it wrong everytime

error in processing external entity reference at line 2, column 59, by +te 82: <?xml version="1.0" ?> <!DOCTYPE group SYSTEM "/opt/hpcmgr/etc/templates/cmgr.dtd"> ==========================================================^ <!-- name - name of the variable (required) at /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/XML/P +arser.pm line 187 at /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/XML/P +arser.pm line 238 XML::Parser::parsefile('XML::Parser=HASH(0x40363a48)', '/opt/h +psrp/etc/templates/srpdefaults.cst') called at /opt/perl_32/lib/site_ +perl/5.8.8/XML/XPath/XMLParser.pm line 72 XML::XPath::XMLParser::parse('XML::XPath::XMLParser=HASH(0x406 +0ad48)') called at /opt/perl_32/lib/site_perl/5.8.8/XML/XPath.pm line + 77 XML::XPath::find('XML::XPath=HASH(0x4044688c)', '//var[@name=" +DefaultService"]') called at /opt/hpsrp/bin/srp_setup line 106 main::sysTemplateUpdate() called at /opt/hpsrp/bin/srp_setup l +ine 753 main::main() called at /opt/hpsrp/bin/srp_setup line 765 IO::Handle::DESTROY(/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi +/IO/Handle.pm:328): 328: sub DESTROY {}

Posted above is the Error

The scenario, the XML-File is "/opt/hpsrp/etc/templates/srpdefaults.cst" and "/opt/hpcmgr/etc/templates/cmgr.dtd" is the external DTD file.

Replies are listed 'Best First'.
Re^4: Building XML::Parser and getting it wrong everytime
by Anonymous Monk on Sep 04, 2009 at 09:12 UTC
    And your code is?