rem: return document.implementation.createDocument(namespaceUri, qualifiedName, null); 
add: var dom = document.implementation.createDocument(namespaceUri, qualifiedName, null); if (!dom.documentElement) { dom.appendChild(dom.createElement(qualifiedName)); } return dom; 
context: EchoDomUtil.createDocument = function(namespaceUri, qualifiedName) {    if (document.implementation && document.implementation.createDocument) {        // DOM Level 2 Browsers        return document.implementation.createDocument(namespaceUri, qualifiedName, null);    } else if (window.ActiveXObject) {        // Internet Explorer        var createdDocument = new ActiveXObject("Microsoft.XMLDOM");        var documentElement = createdDocument.createElement(qualifiedName);        createdDocument.appendChild(documentElement);        return createdDocument;    } else {        throw "Unable to create new Document.";    }};
meta: 498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/498/5012f95e0a6ff6b1b29b78f97fad461d2bec79f7/RenderStandard.js/clean/src/webrender/java/nextapp/echo2/webrender/resource/RenderStandard.js