Skip Menu |

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

Report information
The Basics
Id: 66276
Status: resolved
Priority: 0/
Queue: XML-Saxon-XSLT2

People
Owner: perl [...] toby.ink
Requestors: quentin [...] mit.edu
Cc:
AdminCc:

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



Subject: Classpath is searched in wrong order
The top of XSLT2.pm has a BEGIN block that searches for the right version of Saxon, starting with the newest saxon9he.jar and then falling back to saxonb.jar. Except... it doesn't fall back, because there's nothing to break out of the loop once a file is found. I suggest changing the body of the loop to: $classpath = $path if -e $path; last if defined($classpath); or something similar. (As an unrelated note, the module doesn't actually compile against Saxon B because it doesn't provide the MessageListener interface)
Fixed in 0.005.