Actions
Bug #2570
closedWrong exit code on error (XQuery command line)
Start date:
2016-01-03
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6, 9.7
Fix Committed on Branch:
9.6, 9.7
Description
In some cases exit code is 0 when it should be non zero.
Testcase (on Windows):
java -classpath /path/to/saxon9he.jar net.sf.saxon.Query -qs:"node-without-context"
echo exitcode=%ERRORLEVEL%
Output:
Error at char 20 in query on line 1
XPDY0002: The context item for axis step ./node-without-context is absent
Query failed with dynamic error: The context item for axis step ./node-without-context is absent
exitcode=0
Saxon version is: Saxon-HE 9.7.0.1J
Updated by Michael Kay almost 9 years ago
- Subject changed from wrong exit code on error to Wrong exit code on error (XQuery command line)
- Category set to Command Line
- Status changed from New to Resolved
- Assignee set to Michael Kay
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6, 9.7 added
Patch committed and tested on both the 9.6 and 9.7 branches.
Updated by O'Neil Delpratt almost 9 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 almost 9 years ago
- Fixed in Maintenance Release 9.7.0.3 added
- Fixed in Maintenance Release deleted (
9.7.0.2)
Bug fix applied in the 9.7.0.3 maintenance release. Leave open until fix applied in the 9.6 branch
Updated by O'Neil Delpratt over 8 years ago
- Status changed from Resolved to Closed
- Fixed in Maintenance Release 9.6.0.9 added
- Fixed in Maintenance Release deleted (
9.7.0.3)
Bug fix applied in the Saxon 9.6.0.9 maintenance release.
Updated by O'Neil Delpratt over 8 years ago
- Fixed in Maintenance Release 9.7.0.3 added
Please register to edit this issue
Actions