Project

Profile

Help

Bug #2359

closed

dynamic calls to fn:analyze-string()

Added by Michael Kay about 9 years ago. Updated over 8 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.

Actions #1

Updated by Michael Kay about 9 years ago

  • Status changed from In Progress to Resolved

Fixed on the 9.6 and 9.7 branches.

Actions #2

Updated by O'Neil Delpratt over 8 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.7

Bug fix applied in the Saxon 9.6.0.7 maintenance release.

Actions #3

Updated by O'Neil Delpratt over 8 years ago

  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.7 added
Actions #4

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.7

Please register to edit this issue

Also available in: Atom PDF