Project

Profile

Help

Bug #4543

Poor diagnostics when Transform -lib names a non-existent SEF file

Added by Michael Kay over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2020-05-05
Due date:
% Done:

100%

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

Description

When running Transform from the command line, with a -lib option including a file that does not exist, we issue poor diagnostics.

This is because PackageInspector.getPackageDetails() expects an early exit signalled by an XPathException at line 90, and therefore ignores the details of the exception. It should be more selective about the exception it is catching.

History

#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 in PackageInspector by only catching the "early exit" exception.

#2 Updated by O'Neil Delpratt over 1 year ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 10.1 added

Bug fix committed in the Saxon 10.1 maintenance release.

#3 Updated by O'Neil Delpratt 11 months ago

  • Status changed from Resolved to Closed
  • Fixed in Maintenance Release 10.2, 9.9.1.8 added
  • Fixed in Maintenance Release deleted (10.1)

Bug fix applied on the Saxon 9.9.1.8 maintenance release.

Please register to edit this issue

Also available in: Atom PDF