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
"Protocol scheme 'c' is not supported ..."
by Christopher Allen other posts by this author
Oct 1 2009 8:35AM 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 I have a doc that refers to a DTD like this:

    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> 

and the doc's "outer element" is:

    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false"> 

I'm trying to read the doc with:

    $cxml = XML::XPath-> new(filename => $cfile);

and I get this error:

501 Protocol scheme 'c' is not supported c:/dir/subdir/log4j.dtd
Handler couldn't resolve external entity at line 2, column 48, byte 87
error in processing external entity reference at line 2, column 48, byte
87:
<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> 
===============================================^

I have XML::XPath version 1.13.  Any help?  Thanks,

-Christopher
********************************************************************************************
***********************************
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:
Christopher Allen
Robin Berjon

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