rem: ) { isTextNode = "false"; 
add: ) { isTextNode = "false"; 
context: function Text_Nodes() {   var success;    if(checkInitialization(builder, "Text_Nodes") != null) return;    var ANY_TYPE = 0;      var NUMBER_TYPE = 1;      var STRING_TYPE = 2;      var BOOLEAN_TYPE = 3;      var UNORDERED_NODE_ITERATOR_TYPE = 4;      var ORDERED_NODE_ITERATOR_TYPE = 5;      var UNORDERED_NODE_SNAPSHOT_TYPE = 6;      var ORDERED_NODE_SNAPSHOT_TYPE = 7;      var ANY_UNORDERED_NODE_TYPE = 8;      var FIRST_ORDERED_NODE_TYPE = 9;      var doc;      var resolver;      var evaluator;      var contextNode;      var inresult = null;      var outresult = null;      var expression = "//text()";      var xpathType = ANY_TYPE;      var currNode;      var nextNode;      var currNodeNextSibling;      var nextNodePrevSibling;      var nodeType;      var isTextNode;            var docRef = null;      if (typeof(this.doc) != 'undefined') {        docRef = this.doc;      }      doc = load(docRef, "doc", "staff");      evaluator = createXPathEvaluator(doc);resolver = evaluator.createNSResolver(doc);      contextNode =  doc;outresult = evaluator.evaluate(expression,contextNode,resolver,xpathType,inresult);      currNode = outresult.iterateNext();          while(		(currNode != null)	) {	nodeType = currNode.nodeType;      isTextNode = "true";	if(		(!(3 == nodeType) && !(4 == nodeType))	) {	isTextNode = "false";	}	assertEquals("S1.2.4-Text-Nodes-nodeType","true".toLowerCase(),isTextNode.toLowerCase());       nextNode = outresult.iterateNext();      	if(		(nextNode != null)	) {	currNodeNextSibling = currNode.nextSibling;      	if(		same(nextNode,currNodeNextSibling)	) {	/* dummy statement */	}			else {			assertTrue("S1.2.4-Text-Nodes-Adjacent-Next",false);		}	nextNodePrevSibling = nextNode.previousSibling;      	if(		same(nextNodePrevSibling,currNode)	) {	/* dummy statement */	}			else {			assertTrue("S1.2.4-Text-Nodes-Adjacent-Prev",false);		}		}	currNode =  nextNode;	}}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/c7eb18b9e23386048b9296005af3e7bac45726da/Text_Nodes.js/buggy/LayoutTests/dom/svg/level3/xpath/Text_Nodes.js