Re: XML::XSLT does not accept an absolute path
- From: Nick Monyatovsky <no.such@xxxxxxxxxx>
- Date: Fri, 16 Nov 2007 07:13:08 -0800
On Thu, 15 Nov 2007 19:45:47 -0600, "Mumia W."
<paduille.4061.mumia.w+nospam@xxxxxxxxxxxxx> wrote:
On 11/15/2007 04:02 PM, Nick Monyatovsky wrote:
I've run into a bug in XML::XSLT. If you give it an .xsl file by an
absolute name, it fails with the message:
Error while parsing: no element found at line 1, column 0, byte -1 at
C:/Perl/site/lib/XML/Parser.pm line 185
If you use relative path, no problems.
The line that's casuing the error is this:
my $xslt = XML::XSLT->new( $xslfile, warnings => 1, debug => 1);
There are no spaces anything else "weird" in the absolute path.
But this is on Windows, so it begins with "D:\users".
This looks like a minor omission somewhere in the module.
How can this be corrected?
Thanks,
-- Nick Monyatovsky
Can't you use forward slashes?
D:/users/thefile.xml
No, no luck there either. Same error.
.
- Follow-Ups:
- Re: XML::XSLT does not accept an absolute path
- From: Christian Winter
- Re: XML::XSLT does not accept an absolute path
- References:
- XML::XSLT does not accept an absolute path
- From: Nick Monyatovsky
- Re: XML::XSLT does not accept an absolute path
- From: Mumia W.
- XML::XSLT does not accept an absolute path
- Prev by Date: Re: How to increase performance BerkeleyDB?
- Next by Date: Re: XML::XSLT does not accept an absolute path
- Previous by thread: Re: XML::XSLT does not accept an absolute path
- Next by thread: Re: XML::XSLT does not accept an absolute path
- Index(es):
Relevant Pages
|
|