Project

Profile

Help

Bug #4543

closed

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

Added by Michael Kay almost 4 years ago. Updated over 3 years 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:
Platforms:

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.

Actions #1

Updated by Michael Kay almost 4 years 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.

Actions #2

Updated by O'Neil Delpratt almost 4 years ago

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

Bug fix committed in the Saxon 10.1 maintenance release.

Actions #3

Updated by O'Neil Delpratt over 3 years 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