Skip Menu |

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

Report information
The Basics
Id: 2233
Status: new
Priority: 0/
Queue: XML-Filter-XInclude

People
Owner: Nobody in particular
Requestors: mark [...] twoshortplanks.com
Cc:
AdminCc:

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



Subject: Problem with remembering base dirs
There's a problem where the base dir of every document you xinclude is remembered, meaning that if I xinclude a document that's in a directory and then xinclude another document the code looks for the second document within the directory of the first document. Ooops. Attached is the one line diff to add a pop @{ $self->{bases} } in the end_document event that fixes this. Also in the patch is an expansion for the test suite (with tests that only now pass) that I used when trying to work out what was wrong.
Download patch
application/octet-stream 1.8k

Message body not shown because it is not plain text.