Project

Profile

Help

Bug #2447

closed

Internal error "invalid replacement" in saxon:assign

Added by Michael Kay over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
Start date:
2015-08-29
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

If the only reference to a local variable occurs as the select expression of a saxon:assign instruction, the attempt to inline the variable reference fails with the internal error "invalid replacement".

This is because the expression implementing saxon:assign does not implement the replaceOperand() method.

A patch is being committed to Subversion on the 9.6 branch. The problem does not occur in 9.7 as a result of the redesign of the expression tree.

Please register to edit this issue

Also available in: Atom PDF