Packages listed in -lib on Transform command line must be source XSLT, not SEF files
I've been trying to run
and it fails saying
XTSE0150 The supplied file does not appear to be a stylesheet.
The spec for the command line says the file can be either source XSLT or a SEF file, and we try generally to allow a SEF file anywhere source XSLT is allowed.
#1 Updated by Michael Kay over 1 year ago
- Status changed from New to Resolved
- Applies to branch 10, 9.9 added
- Fix Committed on Branch 10, 9.9 added
Fixed on the 9.9 and 10.0 branches. PackageInspector was already designed to handle either source XSLT or SEF; but it was leaving the location in both cases in
PackageDetails.sourceLocation rather than
PackageLibrary.obtainLoadedPackage() was assuming that
sourceLocation contained XSLT source.
At the same time I added some version-checking diagnostics: 9.9 checks that the SEF file isn't produced by 10.0+, and vice versa.
Please register to edit this issue