RE: "Protocol scheme 'c' is not supported ..."
"Allen, Christopher" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <D9DF23CF9A82EA4E84EFD144BEEFC4483DFB26@maybach.corp.workscape.net> |
Thanks for the help, I was away on another project. > The simplest solution here is to never ever use DTDs. Just kill that > DOCTYPE, it's useless at best and harmful most of the time. If you > can't do that though because it's a document you're receiving from > elsewhere ... you're right, I can't. BTW, it's the JBoss log4j config file. > > You can pass an XML::Parser that you configure yourself to XML::XPath with the "parser" option > > my $p = XML::Parser->new(...); > my $xp = XML::XPath->new( parser => $p ); > > Now there are several things you can try. The first would be to give XML::Parser the NoLWP option: > > my $p = XML::Parser->new( NoLWP => 1 ); > This worked great. Thanks again! -Chris > -- > Robin Berjon - http://berjon.com/ ******************************************************************************************************************************* IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ******************************************************************************************************************************* _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs