ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved