dyn:evaluate gives no result the second time it is called. When using a
variable with no rtf. It is working in version 2.6.0
----------------------------------------------------------------------------------------------------------------------------
Key: XALANJ-2380
URL: https://issues.apache.org/jira/browse/XALANJ-2380
Project: XalanJ2
Issue Type: Bug
Environment: Windows XP, JDK 1.6.0
Reporter: Kenneth Reistad
Priority: Critical
Fix For: The Latest Development Code
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet exclude-result-prefixes="dyn" version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:dyn="http://exslt.org/dynamic">
<xsl:output encoding="ISO-8859-1" indent="yes" method="xml"
omit-xml-declaration="no" version="1.0"/>
<xsl:template match="/">
<root>
<xsl:variable name="employees">
<employee>
<name>
<first>Firstname0</first>
<last>Lastname0</last>
</name>
</employee>
</xsl:variable>
<xsl:variable name="employee"
select="$employees/employee"/>
<xsl:value-of
select="dyn:evaluate('$employees/employee/name/last/text()')"/>|
<xsl:value-of
select="dyn:evaluate('$employees/employee/name/last/text()')"/>|
<xsl:value-of
select="dyn:evaluate('$employees/employee/name/last/text()')"/>|
***
<xsl:value-of
select="dyn:evaluate('$employee/name/last/text()')"/>|
<xsl:value-of
select="dyn:evaluate('$employee/name/last/text()')"/>|
<xsl:value-of
select="dyn:evaluate('$employee/name/last/text()')"/>|
</root>
</xsl:template>
</xsl:stylesheet>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]