Project

Profile

Help

Support #2738

closed

string-join implementation always uses XPath 3.1 implementation

Added by Stuart Barker over 8 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2016-05-09
Due date:
% Done:

100%

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

Description

The change history for 9.6 to 9.7 states that:

"The function fn:string-join now accepts any sequence of atomic values in its first argument: for example the result of fn:string-join(1 to 5) is "1 2 3 4 5". Because of internal constraints, Saxon has implemented this change regardless of the requested XPath version."

This seems to imply that the implementation of the function is no longer compliant with earlier versions of XPath. And indeed, using 9.7 instead of 9.6, our tool fails a public conformance case that expects a type error when the items in the sequence are type xs:integer rather than xs:string.

We are looking to upgrade in order to incorporate memory improvements made for https://saxonica.plan.io/issues/2723. We cannot do this if we lose compliance with XPath 2.0.

I have set the priority to high as a combination of this bug and bug 2723 has left us unable to release a new version of our tool that is now due.


Related issues

Copied to Saxon - Support #5965: string-join implementation always uses XPath 3.1 implementationClosedMichael Kay2016-05-09

Actions

Please register to edit this issue

Also available in: Atom PDF