Project

Profile

Help

Bug #3501

closed

Error when object supplied to ixsl:get() is null

Added by Debbie Lockett over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2017-10-27
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

If ixsl:get() is called on an object which is null, this throws a JavaScript TypeError e.g. "TypeError: Cannot read property 'localName' of null". This error should be handled better by Saxon-JS to produce an XError with a more informative message.

Note that if ixsl:call() is called on an object which is null, then this produces a decent XError because it fails a cardinality check: "Required cardinality of first argument of ixsl:call() is exactly one; supplied value is empty at test.xsl#15".

Please register to edit this issue

Also available in: Atom PDF Tracking page