rem: return document.createTextElement(oNode.data); 
add: return document.createTextNode(oNode.data); 
context:         document.importNode = function(oNode, bChildren){            var tmp;            if (oNode.nodeName=='#text') {                return document.createTextElement(oNode.data);            }            else {                if(oNode.nodeName == "tbody" || oNode.nodeName == "tr"){                    tmp = document.createElement("table");                }                else if(oNode.nodeName == "td"){                    tmp = document.createElement("tr");                }                else if(oNode.nodeName == "option"){                    tmp = document.createElement("select");                }                else{                    tmp = document.createElement("div");                };                if(bChildren){                    tmp.innerHTML = oNode.xml ? oNode.xml : oNode.outerHTML;                }else{                    tmp.innerHTML = oNode.xml ? oNode.cloneNode(false).xml : oNode.cloneNode(false).outerHTML;                };                return tmp.getElementsByTagName("*")[0];            };                    };
meta: 2380	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2380/963ee59c1f77a8310de34dca894645f7f417265a/sarissa.js/buggy/kupu/common/sarissa.js