[ http://issues.apache.org/jira/browse/XALANJ-2151?page=all ]
Brian Minchau updated XALANJ-2151:
----------------------------------
fix-priority: fp2
set to fp2 per the JIRA meeting July 12, 2005
> XSLTC incorrectly optimizes predicates containing numeric values
> ----------------------------------------------------------------
>
> Key: XALANJ-2151
> URL: http://issues.apache.org/jira/browse/XALANJ-2151
> Project: XalanJ2
> Type: Bug
> Components: XPath-function
> Versions: CurrentCVS
> Reporter: Henry Zongaro
> Priority: Critical
> Attachments: j2151.out, j2151.xml, j2151.xsl
>
> XSLTC attempts to optimize predicates whose values are numeric by wrapping
> the iterator for the expression that is being filtered with an
> NthPositionIterator. The latter iterator skips directly to the relevant item
> in the nested iterator. The problem is that this optimization only applies
> if the value of the predicate is unaffected by the context item, but XSLTC is
> not preventing the optimization from being applied in all such cases. I will
> attach an example that demonstrates the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]