Project

Profile

Help

Support #3567

closed

Error from string-join when moving to Saxon 9.7

Added by Nick Nunes over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2017-12-11
Due date:
% Done:

0%

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

Description

We're working on migrating our codebase from 9.5 to 9.7 and we are seeing the following error: "An empty sequence is not allowed as the second argument of _STRING-JOIN_2.0()" This is typically being triggered by invocations of string-join where the second argument is an element which is conditionally available based on context. I've attached a stylesheet which demonstrates the problem. It includes the code that worked in 9.5 and fails in 9.7 as well as a potential fix for 9.7.

My question is whether this change is expected (and thus requires us to update our codebase) or if this is unintended.

Thanks for you help.


Files

problem.string-join.xsl (1.46 KB) problem.string-join.xsl Nick Nunes, 2017-12-12 00:00

Please register to edit this issue

Also available in: Atom PDF