rem: var updateData = text.match(/UpdateData&gt[\w\s\.()"&/]*&lt\/UpdateData/g); 
add: var updateData = text.match(/UpdateData&gt[\w\s\.()"&]*&lt\/UpdateData/g); 
context: function addDebugButton(text){	var numTargets = text.match(/Target&gt/g);	var txt = window.top.debugWindow.document.createTextNode((numTargets ? "XML" : " Text"));	var msgType = text.match(/(GetUpdatedObjectsResponse|GetUpdatedObjects)/);	if(msgType)	{		if(msgType[0] == "GetUpdatedObjectsResponse")		{			var msgTypeTxt = window.top.debugWindow.document.createTextNode("--Response--");		}		else if(msgType[0] == "GetUpdatedObjects")		{			var msgTypeTxt = window.top.debugWindow.document.createTextNode("--Request--");		}	}	else	{		var msgTypeTxt = window.top.debugWindow.document.createTextNode("no message type");	}			var buttonDiv = window.top.debugWindow.document.createElement("div");		buttonDiv.appendChild(msgTypeTxt);	buttonDiv.appendChild(txt);			if(numTargets && msgTypeTxt.nodeValue == "testing--Response--")	{		var updateData = text.match(/UpdateData&gt[\w\s\.()"&/]*&lt\/UpdateData/g);		if(updateData)		{			for(var i = 0; i < updateData.length; i++)			{				var dataType = updateData[i].match(/&ltData&gt\s*&lt[\w]*&gt/g);				dataType = dataType[0];				dataType = dataType.match(/&gt\s*&lt[\w]*&gt/g);				dataType = dataType[0];				dataType = dataType.replace(/\s*/, "");					dataType = dataType.replace(/\n*/, "");				var targets = updateData[i].match(/Target&gt\s*[A-Za-z_]*\s*&lt\//g);				if(targets)				{					for(var j = 0; j < targets.length; j++)					{						var targTxt = targets[j].match(/\n\s*[A-Za-z_]*\n/);						if(targTxt)						{								var targetDiv = window.top.debugWindow.document.createElement("div");							targTxt = targTxt[0];							targTxt = targTxt.replace(/\s*/, "");								targTxt = targTxt.replace(/\n*/, "");							targetDiv.appendChild(window.top.debugWindow.document.createTextNode("Target: " + targTxt + " DataType: " + dataType));							buttonDiv.appendChild(targetDiv);						}					}				}			}		}	}	if(numTargets && msgTypeTxt.nodeValue == "--Response--")	{		var targets = text.match(/Target&gt\s*[A-Za-z_]*\s*&lt\//g);		if(targets)		{			for(var i = 0; i < targets.length; i++)			{				var targTxt = targets[i].match(/\n\s*[A-Za-z_]*\n/);				if(targTxt)				{						var targetDiv = window.top.debugWindow.document.createElement("div");					targTxt = targTxt[0];					targTxt = targTxt.replace(/\s*/, "");						targTxt = targTxt.replace(/\n*/, "");					targetDiv.appendChild(window.top.debugWindow.document.createTextNode("Target: " + targTxt));					buttonDiv.appendChild(targetDiv);				}			}		}		}	else if(msgTypeTxt.nodeValue == "--Request--")	{		var targets = text.match(/Operator&gt\s*[A-Za-z_]*\s*&lt\//g);		if(targets)		{			for(var i = 0; i < targets.length; i++)			{				var targTxt = targets[i].match(/\n\s*[A-Za-z_]*\n/);				if(targTxt)				{						var targetDiv = window.top.debugWindow.document.createElement("div");					targTxt = targTxt[0];					targTxt = targTxt.replace(/\s*/, "");						targTxt = targTxt.replace(/\n*/, "");					targetDiv.appendChild(window.top.debugWindow.document.createTextNode(targTxt));					buttonDiv.appendChild(targetDiv);				}			}		}	}	buttonDiv.style.backgroundColor = "#ccffcc";	buttonDiv.onmousedown = pushDebugButton;	g_debugButtonDivList.push(buttonDiv);	buttonDiv.listIndex = g_debugButtonDivList.length -1;	return buttonDiv;}
meta: 855	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/855/dc1ac044f2ed2d34a9c568bc41b8002f6bcbaf2b/Debug.js/buggy/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/utility/Debug.js