Project

Profile

Help

Bug #2359

closed

dynamic calls to fn:analyze-string()

Added by Michael Kay over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
Start date:
2015-04-14
Due date:
% Done:

100%

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

Description

In AnalyzeStringFn.call, which implements dynamic function calls on fn:analyze-string(), the action for processing a non-matching substring is incorrect. It attempts to execute the action for a matching substring, which typically causes the non-matching strings to be omitted from the output.

The problem was found because in 9.7 the same code is used for dynamic and static function calls.

I don't have a repro for 9.6, but am applying the change that has been tested on 9.7.

Please register to edit this issue

Also available in: Atom PDF