Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 Range variable in pattern - ID: 700837
Last Update: Settings changed ( mhkay )

Saxon does not allow the filter expression in a pattern
to use a range variable. For example, the following
crashes in Saxon 7.4:

<xsl:template match="*[some $x in child::* satisfies
name($x) = name(.)]">

test case added: cnfr23


Michael Kay ( mhkay ) - 2003-03-10 14:17

5

Closed

Fixed

Michael Kay

XSLT conformance

v7.4

Public


Comment ( 1 )

Date: 2003-03-10 14:26
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Source code fixed (by wrapping the filter expression in a
TopLevelExpression).

A more efficient long-term fix would be to make Pattern a
subclass of Expression, returning a boolean value for the
evaluateItem() method, instead of the current matches() method.


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2003-06-27 18:58 mhkay
resolution_id None 2003-06-27 18:58 mhkay
close_date - 2003-06-27 18:58 mhkay