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