rem: window.dump("Error: " + eStart + "/" + eEnd + "\n"); 
add: if (debug) window.dump("Error: " + eStart + "/" + eEnd + "\n"); 
context:    this.add = function(start,end,a) {      try {         if (debug) window.dump("Loading " + start + " - " + end + " (" + a + ")\n");         start = start.replace(/\/(?!xrai:)/g,"/xraic:");         end = end.replace(/\/(?!xrai:)/g,"/xraic:");         var eStart = xpe.evaluate("." + start, XRai.getRoot().parentNode, this.nsResolver, 0, null).iterateNext();         var eEnd = end == "" ? null : xpe.evaluate("." + end, XRai.getRoot().parentNode, this.nsResolver, 0, null).iterateNext();         if (!eStart || (end != "" && !eEnd)) {            window.dump("Error: " + eStart + "/" + eEnd + "\n");            this.loadErrors++;         } else {            if (eEnd) {               try {                  new Passage(eStart, eEnd, a == "" ? null : a);               } catch(e) {                  this.loadErrors++;                  if (debug) window.dump("/!\\" + e + "\n");               }            } else {               if (!eStart.cAssessment) eStart.cAssessment = XRai.newAssessment(eStart,a,false,a);               else this.loadErrors++;               eStart.cAssessment.saved = XRai.getAValue(eStart.cAssessment);            }         }      } catch(e) {         window.dump("Error while loading assessments: " + XRai.getError(e));         this.loadErrors++;      }   }
meta: 8632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8632/118a48a7c56edb8af49d2c17b204d65bb2149adb/article.js/clean/trunk/js/article.js