Project

Profile

Help

Bug #4473

closed

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

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

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.

Please register to edit this issue

Also available in: Atom PDF