RFR 8024707: TRANSFORMEREXCEPTION : ITEM() RETURNS NULL WITH NODE LIST OF LENGTH =1 IN JAXP

Aleksej Efimov aleksej.efimov at oracle.com
Tue Sep 17 12:01:33 UTC 2013


Hi Everyone,

There is a bug [1] in JAXP about transformation of one-item sized node list:
When the length of nodelist which is passed to a XSLT extension function 
is 1, the node gotten from the node list becomes null.
New test illustrates this issue [2]. Full webrev with proposed fix can 
be found here: [3].

[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8024707
[2] 
http://cr.openjdk.java.net/~aefimov/8024707/raw_files/new/jdk/test/javax/xml/jaxp/parsers/8024707/XSLT.java
[3] http://cr.openjdk.java.net/~aefimov/8024707/

Best regards,
Aleksej



More information about the core-libs-dev mailing list