Project

Profile

Help

Bug #4473

URIResolver returning null when applied to source-location in fn:transform

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2020-03-03
Due date:
% Done:

100%

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

Description

When the user-supplied URIResolver, invoked to resolve the source-location supplied to a call on fn:transform, returns null, Saxon 9.9 crashes with a NullPointerException.

This only applies when validation = ( lax | strict ) has been requested for the source.

This is revealed by qt3extra test fn-transform-7

On the development branch the code has been fixed: when the user-supplied URIResolver returns null, we should invoke the default URIResolver, and if this returns null we should report a dynamic error saying the document can't be located.

History

#1 Updated by Michael Kay over 1 year ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • Fix Committed on Branch 9.9 added

Fixed by calling the system-supplied URIResolver on this path.

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

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.7 added

Patch applied in the 9.9.1.7 maintenance release.

Please register to edit this issue

Also available in: Atom PDF