Project

Profile

Help

Bug #2532

closed

Query Initializer hook invoked too late to set ModuleURIResolver

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

Status:
Closed
Priority:
Low
Assignee:
Category:
Command Line
Sprint/Milestone:
Start date:
2015-12-07
Due date:
% Done:

100%

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

Description

When running XQuery from the command line and using the -init option to supply a user-written initialization method, the s9api XQueryCompiler is created before the initialization hook is called, which means that options set in the configuration (such as the ModuleURIResolver) which are destined for the XQueryCompiler arrive too late to have any effect.

Patch committed on the 9.6 and 9.7 branches, and unit test command/Query/testQueryInitializer added.

Actions #1

Updated by O'Neil Delpratt almost 9 years ago

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

Bug fix applied in the Saxon 9.6.0.8 maintenance release

Actions #2

Updated by Michael Kay almost 9 years ago

  • Status changed from Closed to Resolved
  • Found in version changed from 9.6 to 9.6 9.7
  • Fixed in version deleted (9.6.0.8)

Regrettably it looks as if I failed to commit this change before the 9.6.0.8 build, so I think the patch is not present in that maintenance release, despite the release notes.

Actions #3

Updated by O'Neil Delpratt almost 9 years ago

  • Applies to branch 9.6, 9.7 added
  • Fix Committed on Branch 9.6, 9.7 added
Actions #4

Updated by O'Neil Delpratt almost 9 years ago

  • Fixed in Maintenance Release 9.7.0.2 added

Bug fix applied in the Saxon 9.7.0.2 maintenance release

Actions #5

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)

Leave open until fix applied in the 9.6 branch

Actions #6

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.

Actions #7

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.7.0.2
  • Fixed in Maintenance Release 9.7.0.2 added

Please register to edit this issue

Also available in: Atom PDF