Project

Profile

Help

Bug #5658

closed

ExtensionFunctionCall.CopyLocalData not called in SaxonCS

Added by Martin Honnen over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
Start date:
2022-08-23
Due date:
% Done:

100%

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

Description

Based on my findings in https://saxonica.plan.io/boards/3/topics/8947?r=8952#message-8952 and https://saxonica.plan.io/boards/3/topics/8947?r=8953#message-8953 I file this bug as it seems that CopyLocalData is not called on the .NET side in SaxonCS. Test case and more detailed description are in the forums links.

My (uneducated) guess as to what goes wrong is in https://saxonica.plan.io/boards/3/topics/8947?r=8954#message-8954, it appears that ExtensionFunctionCallWrapper lacks a copyLocalData method.

Actions #1

Updated by Michael Kay over 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Michael Kay
  • Applies to branch trunk added
  • Fix Committed on Branch 11, trunk added

Thanks for your detective work on this.

I have

(a) adapted your test case as a unit test, calling the extension function from XPath, XQuery, and XSLT

(b) added the missing call on CopyLocalData

(c) added a Processor property to DynamicContext

All is now working well.

Actions #2

Updated by Community Admin almost 2 years ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 12.0 added

Bug issue fix applied in the Saxon 12.0 Major Release. Leaving this bug marked as Resolved until fix applied

Actions #3

Updated by O'Neil Delpratt almost 2 years ago

  • Fixed in Maintenance Release 11.5 added

Bug applied in the Saxon 11.5 Maintenance release.

Actions #4

Updated by O'Neil Delpratt almost 2 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF