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

Owner: Nobody in particular
Requestors: mark [...]

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

Subject: Problem with remembering base dirs
Download (untitled) / with headers
text/plain 513b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to