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.

Actions #1

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.8

Bug fix applied in the Saxon 9.6.0.8 maintenance release

Actions #2

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.8 added
Actions #3

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.8

Please register to edit this issue

Also available in: Atom PDF