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
if ( generateBy instanceof LabelItemDesign )
		{
			return true;
		}
		// Meta data of data items which are in table header, ta
		if ( generateBy instanceof DataItemDesign )
		{
			return isAggregatable( text );
		}
		return false;
	}
	/**
	 * A ForeignContent needs metadata when it's a template item.
	 * 
	 * @param text
	 *            the text content.
	 * @return true if and only if the metadata of the content needs to be
	 *         output.
	 */
	private boolean needMetadata( IForeignContent foreign )
	{
		if ( foreign.getGenerateBy( ) instanceof TemplateDesign )
		{
			return true;
		}
		return false;
	}
	private boolean isRowInDetailBand( IRowContent row )
	{
		IElement parent = row.getParent( );