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.


In reply to Re^3: Building XML::Parser and getting it wrong everytime by Anonymous Monk
in thread Building XML::Parser and getting it wrong everytime by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.