Permalink
Browse files

file paths in file uris always need to start with a /

  • Loading branch information...
wchristian committed Aug 9, 2011
1 parent c4f8b67 commit 4f0896bc5fd2f7a4e7b5539c77ae86928a83bff7
Showing with 1 addition and 0 deletions.
  1. +1 −0 t/31-external-entities-libxml.t
@@ -4,6 +4,7 @@ use Test::More;
use XML::Atom::Entry;
use FindBin;
my $filepath = "$FindBin::Bin/samples/entry-ns.xml";
+$filepath = "/$filepath" if $filepath !~ m@^/@;
BEGIN {
unless (eval { require XML::LibXML }) {

0 comments on commit 4f0896b

Please sign in to comment.