Aleksej,
The change looks good.
Thanks,
Joe
On 9/28/2013 7:54 AM, Aleksej Efimov wrote:
Joe,
Thank you for a suggestion. But I modified it a little bit:
public Node item(int index) {
if (m_iter != null) {
-int node;
+int node = 0;
int
Joe,
Thank you for a suggestion. But I modified it a little bit:
public Node item(int index) {
if (m_iter != null) {
-int node;
+int node = 0;
int count = m_cachedNodes.size();
if (count index) {
node =
Hi Joe,
Your suggestion about getLength() brings to mine attention the following
behavior of unmodified JDK:
If we slightly modify a TestFunc class [1] in such manner:
public static Node test( NodeList list ) {
Node ret = list.item(0);
PLEASE DON'T REFER TO BUGS USING A SUMMARY THAT IS ALL IN CAPITAL LETTERS.
-Joe
On 9/25/2013 4:10 AM, Aleksej Efimov wrote:
Hi Joe,
Your suggestion about getLength() brings to mine attention the
following behavior of unmodified JDK:
If we slightly modify a TestFunc class [1] in such manner:
Hi Aleksej,
Looks like the getLength() method has the same problem.
Joe
On 9/17/2013 5:01 AM, Aleksej Efimov wrote:
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
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