Community
Participate
Working Groups
DOMNode#getChild(String) does not take into consideration that there are nodes that have null names (constructors, initializers). It should be rewritten as: /** * @see IDOMNode#getChild(String) */ public IDOMNode getChild(String name) { DOMNode child= fFirstChild; while (child != null) { String n= child.getName(); if (name == null) { if (n == null) return child; } else { if (name.equals(n)) return child; } child= child.fNextNode; } return null; }
I can release this version, but I would like a test case that failed before and doesn't fail with this version.
Released in HEAD.