Project

Profile

Help

Bug #1244

closed

wrong $var[user-defined-function()]

Added by Anonymous almost 22 years ago. Updated about 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

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

Description

SourceForge user: gusarov

SAXON can't process sentences containing variables

directly before filter containing user-defined

functions. Ie

<xsl:variable name="a" select="//Actor"/>

<xsl:for-each

 select="$a[xmi:get-gen-links-ids(current())

         = xmi:get-spec-links-ids(.)]">


<xsl:value-of select="."/>

</xsl:for-each>

<xsl:for-each

 select="//Actor[xmi:get-gen-links-ids(current())

         = xmi:get-spec-links-ids(.)]">


<xsl:value-of select="."/>

</xsl:for-each>

gives different output.

I've attached sample style and sample data.


Files

a.zip (9.56 KB) a.zip Anonymous, 2002-05-04 14:18

No data to display

Please register to edit this issue

Also available in: Atom PDF