Project

Profile

Help

Bug #5713

closed

ixsl:source() from asynchronous transform with no source document

Added by Debbie Lockett over 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Low
Category:
IXSL extensions
Sprint/Milestone:
-
Start date:
2022-10-06
Due date:
% Done:

100%

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

Description

Apparently we reintroduced Bug #3502: ixsl:source() does not correctly return an empty sequence when there is no global context item for SaxonJS 2 in the case of asynchronous transforms.

Test browser/ixsl/source01 has belatedly been ported from the old JSunit tests, and this fails in SaxonJS 2.5.

Actions #1

Updated by Debbie Lockett over 1 year ago

  • Status changed from New to Resolved
  • Fix Committed on JS Branch 2, Trunk added

Code fix committed on saxonjs2 and main branches: handle the case that context.fixed.globalContextItem is undefined, and try to avoid undefined in the first place!

Actions #2

Updated by Debbie Lockett 7 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to SaxonJS 2.6

Bug fix applied in the SaxonJS 2.6 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page