Skip Menu |

This queue is for tickets about the XML-ExistDB CPAN distribution.

Report information
The Basics
Id: 56945
Status: resolved
Priority: 0/
Queue: XML-ExistDB

People
Owner: Nobody in particular
Requestors: gregoire.montcheuil [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: (no value)



Subject: XML::eXistDB::RPC doesn't accept filename for DOCUMENT
Hi, The XML::eXistDB::RPC _document method as a bug when check for filename. L.92 is : (test if the argument has a newline) if($_[0] =~ m/[\r\n]/ && -f $_[0]) When it should be : (chack that argument hasn't any newline) if($_[0] !~ m/[\r\n]/ && -f $_[0]) So passing a filename for DOCUMENT failed with the "error : do not understand document via <filename>" Best regards, Grégoire
Sorry, I missed your report. Thanks for the contribution. New release available. Afaik, you're the first user of the module. Did it work for you?