[ http://nagoya.apache.org/jira/browse/XALANJ-1447?page=history ]

Henry Zongaro updated XALANJ-1447:
----------------------------------

    Priority: Critical  (was: Blocker)

> NullPointerException while using key() function
> -----------------------------------------------
>
>          Key: XALANJ-1447
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1447
>      Project: XalanJ2
>         Type: Bug
>   Components: XPath
>     Versions: 2.4
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: Lubo� Hartman
>     Assignee: Christine Li
>     Priority: Critical
>  Attachments: FuncKeyIDPatch.txt, FuncKeyPatch.txt, FuncKeyPatch.txt, 
> UCXMLTest.xml, idkey64.xml, idkey64.xsl, idkey65.xml, idkey65.xsl, 
> idkey66.xml, idkey66.xsl, idkey67.xml, idkey67.xsl, idkey68.xml, idkey68.xsl, 
> out.zip, tst.xml, tst.xsl
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to