RE: "Protocol scheme 'c' is not supported ..."
by Christopher Allen other posts by this author
Oct 13 2009 5:32AM messages near this date
view in the new Beta List Site
RE: "Protocol scheme 'c' is not supported ..."
|
Re: "Protocol scheme 'c' is not supported ..."
& XSLT 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 intende
d for the
named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender imm
ediately 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
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
F. DR EECS Mabry
Christopher Allen
Robin Berjon
|