Bug #2541
closedPassing list of packages on Transform command line does not work
100%
Description
Any attempt to pass a list of packages with mutual dependencies on the Transform command line results in the message
Possible circular package dependency
reported here: http://stackoverflow.com/questions/34279317/possible-circular-package-dependency-xslt-3-0
Updated by Michael Kay over 8 years ago
- Status changed from In Progress to Resolved
- Fix Committed on Branch 9.7 added
The logic that attempts to find an ordering among the supplied packages, such that if A is dependent on B then B is always compiled before A, is defective. I have rewritten it.
I also found an unrelated problem affecting this use case; when the Source object supplied to XsltCompiler.compilePackage() is a pre-built tree already containing nodes in the form of StyleElement instances, then the Compilation object that these nodes point to is a different Compilation object from the one used by compilePackage(), resulting in a later NullPointerException when searching for the PrincipalStylesheetModule.
Patch committed (for the 97 branch) and tested for this test case; needs wider regression testing.
Updated by O'Neil Delpratt over 8 years ago
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.2 added
Bug fix applied in the Saxon 9.7.0.2 maintenance release
Updated by O'Neil Delpratt over 8 years ago
- Status changed from Resolved to Closed
Please register to edit this issue