Bug 182656 The result is incorrect when a level has two parents[07][1101]
Description: The result is incorrect when a level has two parents[07][1101] Build number: 2.2.0.v20070417-0630 Steps to reproduce: -If the bottom level has two parents , we will considered that a invalid fact table. But now the fact table can get the result, and the result is incorrect.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
}
	/**
	 * 
	 * @param cubeHandle
	 * @param query
	 * @param resultMetaList
	 */
	private void prepareMeasure( TabularCubeHandle cubeHandle,
			QueryDefinition query, List resultMetaList )
	{
		List measureGroups = cubeHandle.getContents( CubeHandle.MEASURE_GROUPS_PROP );
		for ( int i = 0; i < measureGroups.size( ); i++ )
		{
			MeasureGroupHandle mgh = (MeasureGroupHandle) measureGroups.get( i );
			List measures = mgh.getContents( MeasureGroupHandle.MEASURES_PROP );
			for ( int j = 0; j < measures.size( ); j++ )
			{
				MeasureHandle measure = (MeasureHandle) measures.get( j );
				String function = measure.getFunction( );
				if ( query.getGroups( ).size( ) > 0 )
				{
					ScriptExpression se = populateExpression( query,
							measure,
							function );
					query.addResultSetExpression( measure.getName( ), se );
				}
				else
				{
					query.addResultSetExpression( measure.getName( ),
							new ScriptExpression( measure.getMeasureExpression( ) ) );