Project

Profile

Help

Bug #2201

closed

Setting ErrorListener on XQueryCompiler has no effect

Added by Michael Kay over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
Start date:
2014-10-28
Due date:
% Done:

100%

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

Description

Setting an ErrorListener on the XQueryCompiler or on the underlying StaticQueryContext under some conditions has no effect; the existing error listener, which defaults to the one used in the configuration, is used instead.

The problem occurs whenever the existing error listener is an instanceof StandardErrorListener (which is true by default).

Actions #1

Updated by Michael Kay over 9 years ago

  • Status changed from New to Resolved

A patch has been committed on the 9.6 and 9.7 branches, and a new unit test added to the XQueryCompiler s9api tests.

Actions #2

Updated by O'Neil Delpratt over 9 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.2

Bug fix applied to the maintenance release Saxon 9.6.0.2

Actions #3

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.2
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.2 added

Please register to edit this issue

Also available in: Atom PDF