for( var j = 0; j < content.childNodes.length; j++ ) 
   contentData = "";  if ( content.hasChildNodes ) 
	__processUpdateContent: function( updates )	{		if ( !updates ) return;				for ( var i = 0; i < updates.length; i++ )		{			try			{				var target = updates[i].getElementsByTagName( 'Target' )[0]; //assumes only 1 target per UpdateContent				var targetData = target.firstChild.data								var targetType = targetData.substring( 0, 5 );				var handler = this.associations[targetType];								if ( !handler ) 				{					var error = { name : "CustomError",								  message : ( "__processUpdateContent no handler registered for type: " + targetType ) };					throw error;				}												var content = updates[i].getElementsByTagName( 'Content' )[0]; //assumes only 1 context per UpdateContent					if ( !content ) 				{					var error = { name : "CustomError",								  message : ( " __processUpdateContent empty contents" ) };					throw error;					}								/**************************************************************				 * Data is too large, seems firefox will wrap the content into				 * several children nodes of text type. Need more verification.				 **************************************************************/				var contentData = "";				if ( content.hasChildNodes )				{					for( var j = 0; j < content.childNodes.length; j++ )					{						if( content.childNodes[j].nodeType == 3 ) //Text type						{							contentData += content.childNodes[j].data;						}					}						}								if ( contentData )				{					handler.__cb_disposeEventHandlers( targetData );					handler.__cb_render( targetData, contentData );					var inits = updates[i].getElementsByTagName( 'InitializationId' );					var bookmarks = updates[i].getElementsByTagName( 'Bookmark' );					if ( bookmarks.length > 0 )					{						handler.__cb_installEventHandlers( targetData, inits, bookmarks[0].firstChild.data );					}					else					{						handler.__cb_installEventHandlers( targetData, inits );					}				}			}			catch( error )			{				debug( "ERROR in birtGetUpdatedObjectsResponseHandler" );								for( var i in error )				{					debug( "ERROR " + i + " : " + error[i] );				}			}					}	},
9270	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9270/c99665e42eee0382375628099540c1bcd2f047ef/BirtGetUpdatedObjectsResponseHandler.js/buggy/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/mh/BirtGetUpdatedObjectsResponseHandler.js