Bug #3935
closed
command line catalog option
Applies to branch:
9.8, 9.9
Fix Committed on Branch:
9.8, 9.9
Fixed in Maintenance Release:
Description
When running xslt from the command line I have to set more than one catalog file using the catalog option. The documentation tells that this is either a file name or a list of file names separated by semicolons. The last solution does not seem to work. (I'm using EE 9.8.0.12 on MacOS)
Yes, you're right. In general, a list of filenames isn't going to work, because before putting the supplied value in the xml.catalog.files system property, we try to resolve/expand the file name, and this code treats it as a single name.
I will review whether we should change the code to match the documentation or vice versa.
- Category set to Command Line
- Status changed from New to Resolved
- Assignee set to Michael Kay
- Priority changed from Low to Normal
- Applies to branch 9.8, 9.9 added
- Fix Committed on Branch 9.8, 9.9 added
I have patched 9.8 and 9.9 (CommandLineOptions.java) so that it does what the documentation says. The supplied value of the -catalog option is now split on semicolon boundaries and each filename is processed independently; the expanded names are concatenated into a single string which is placed in the xml.catalog.files
.
Note that semicolon is used as the separator regardless of operating system.
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.8.0.15 added
Bug fix applied in the Saxon 9.8.0.15 maintenance release. Leave open to the Saxon 9.9 maintenance release.
- Status changed from Resolved to Closed
- Fixed in Maintenance Release 9.9.0.2 added
Bug fix applied in the Saxon 9.9.0.2 maintenance release.
- Related to Bug #5002: Catalog issue in SAXON-HE 9.8.0.14J added
Please register to edit this issue
Also available in: Atom
PDF