3136 + if( this._needToReplaceEntities(strV) ) { 3137 + print("DEBUG " + strV); 3139 3138 iRet = this._replaceEntities(strV); 3140 3139 3141 3140 if(iRet == XMLP._ERROR) { ... 3376 3375 3377 3376 } 3378 3377 3378 + XMLP.prototype._needToReplaceEntities = function(strV){ 3379 + var entities = $w.$entityDefinitions; 3380 + for(var entity in entities){ 3381 + if( strV.match( "&"+entity+";" ) ) return true; 3382 + } 3383 + return false; 3384 + }