rem: if (treeRoot === null) { return; } if (children === null) { return; } if (children.length != 1) { return; 
add: for (var i = 0; i < errorTags.length; i++) { var nextError = errorTags[i]; var errorChildren = nextError.childNodes;  if (errorChildren.length > 0 && errorChildren[0].nodeType == 3) { var message = errorChildren[0].data; alert(message); } 
context: function updateTree(xml) {    var treeRoot = document.getElementById("tree_root");    var children = xml.getElementsByTagName ("tree_data");        if (treeRoot === null) {         return;     }    if (children === null) {         return;     }    if (children.length != 1) {        return;     }        var tocdata = children[0];    var nodes = tocdata.childNodes;    selectedNode = null;    mergeChildren(treeRoot, nodes);    if (selectedNode != null) {        focusOnItem(selectedNode);    } }
meta: 10107	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10107/4fa6b91314cb4120d5f3cb4c47829d28768fc461/helptreechildren.js/buggy/org.eclipse.help.webapp/advanced/helptreechildren.js