Project

Profile

Help

Bug #4100

closed

Export code assumes there is a "target" (e.g. EE or JS) but this is not the case when doing an "explain"

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2019-01-18
Due date:
% Done:

100%

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

Description

Some code is shared between "export" (which applies to XSLT only, and produces a SEF file), and "explain", which applies to both XSLT and XQuery, and produces diagnostic information. In some cases the export() method assumes that the ExpressionPresenter has a "target" property; but when doing an "explain", this may be null.

Fixed by initializing the target property to "", so target.equals("XX") always return false rather than crashing.

Actions #1

Updated by O'Neil Delpratt about 5 years ago

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

Bug fix applied to the Saxon 9.9.1.1 maintenance release.

Actions #2

Updated by O'Neil Delpratt about 5 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF