CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Xpath - error in processing external entity reference

 



ITSAMB
Novice

Mar 23, 2009, 12:27 AM

Post #1 of 2 (823 views)
Xpath - error in processing external entity reference Can't Post

Hi,
I am trying to use XML::Xpath for XML processing. When I try to use it in code, it is throwing an error
501 Protocol scheme 'y' is not supported y:/.../dcr4.5.dtd.
Handler couldn't resolve external entity at line 2, column 36, byte 75
error in processing external entity reference at line 2, column 36, byte 75

The parser is explicitly searching for the dtd where the XML is located and throwing the error.
I do not have any idea about this protocol scheme error. I also tried giving absolute location of the dtd file, but still same result.
If anyone can throw some light on it, will be appreciated.

Snippet of the XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE record SYSTEM "dcr4.5.dtd">
<record name="TrusteeForm" type="content">
<item name="id_content">
.
.
Perl Version: 5.8.2

Thanks,
Amit


KevinR
Veteran


Mar 23, 2009, 10:13 AM

Post #2 of 2 (814 views)
Re: [ITSAMB] Xpath - error in processing external entity reference [In reply to] Can't Post

http://forums.devshed.com/perl-programming-6/xpath-error-in-processing-external-entity-reference-598801.html
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives