Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
2.5, 2.4, 2.4Dx
-
None
-
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
18008
Description
I have the stylesheet containing:
<xsl:key name="bt-data" match="//bt:data" use="@id" />
<xsl:key name="uc-attribute" match="//uc:attribute" use="@name" />
If I use this keys this way:
<xsl:value-of select="key('bt-data', key('uc-
attribute', 'list1.0.A003')/@data)" />
NullPointerException is thrown. If an element is found by key uc-attribute, the
exception is thrown. If no element is found by key uc-attribute, no exception
is thrown. This problem occurs in Xalan version 2.4.0, 2.4.1 and 2.5.D1.
Versions 2.2.0 and 2.3.1 works fine.