Project

Profile

Help

Bug #1811

closed

Local variable used in a pattern

Added by Michael Kay almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2013-06-17
Due date:
% Done:

100%

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

Description

The error

* Internal Saxon error: local variable encountered whose binding has been deleted

occurs when a local variable is used in a pattern (e.g. a count pattern in xsl:number) and this is the only reference to that variable. For example

<xsl:variable name="href" select="..." as="xs:string"/>

<xsl:number select="$prmTopicRef"

level="any"

count="*[string(@href)=$href]"

from="*[contains(@class,' map/map ')]"

format="1"/>

Reported today by Toshihiko Makita on saxon-help mailing list

Please register to edit this issue

Also available in: Atom PDF