Project

Profile

Help

Bug #4145

closed

With the -a option on the command line, parameters do not take effect

Added by Michael Kay about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Command Line
Sprint/Milestone:
-
Start date:
2019-02-21
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

(By email from T. Hatanaka).

Example command line

java -jar saxon9ee.jar -a -s:test.xml -t p=val

is reported to work in 9.8 but not in 9.9

Actions #1

Updated by Michael Kay about 5 years ago

This seems to be a side-effect of changes we made in 9.9 to supply parameter values (both static and non-static) at compile time: since on the command line we're compiling the stylesheet to be executed once, the compiler can do more optimizations if it knows what the parameter values are. It looks easily fixed, other than the fact that we really need to create a lot more test cases for command line invocation.

Actions #2

Updated by Michael Kay about 5 years ago

  • Status changed from New to Resolved
  • Applies to branch 9.9, trunk added
  • Fix Committed on Branch 9.9, trunk added

Fixed in Transform.java. Tested in TransformTests.useAssociated().

Actions #3

Updated by O'Neil Delpratt about 5 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.2 added

Bug issue fixed in the Saxon 9.9.1.2 maintenance release.

Please register to edit this issue

Also available in: Atom PDF