Bug 163310 testRenderReportlet_complex_list() & testRenderReportlet_complex_table() in tests.engine fail
Details: testRenderReportlet_complex_list() & testRenderReportlet_complex_table() in tests.engine fail You can find the test case in org.eclipse.birt.report.tests.engine.api.RenderTaskTest.java "Failed to find instance id of LIST" & "Failed to find instance id of TABLE"
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/MetadataEmitter.java
// T
			// n
			if ( parent instanceof IContent )
			{
				IContent content = (IContent)parent;
				ReportItemDesign design = ( ReportItemDesign )content.getGenerateBy( );
				if ( design.getQuery( ) != null )
				{
					return false;
				}
			}
			// T
			// h
			if ( parent instanceof IBandContent )
			{
				IBandContent bandContent = (IBandContent )parent;
				BandDesign bandDesing = (BandDesign) bandContent
						.getGenerateBy( );
				if ( bandDesing.getBandType( ) == BandDesign.BAND_HEADER
					 || bandDesing.getBandType( ) == BandDesign.BAND_FOOTER
					 || bandDesing.getBandType( ) == BandDesign.GROUP_HEADER
					 || bandDesing.getBandType( ) == BandDesign.GROUP_FOOTER)
				{
					
					IElement bandParent = bandContent.getParent( );
					while ( bandParent instanceof IGroupContent )
					{
						bandParent = bandParent.getParent( );
					}
					if ( bandParent instanceof ITableContent )