Bug 191891 xtab nest in another xtab doesn't display data.[1102]
Description: xtab nest in another xtab doesn't display data. Build number:2.2.0.v200706111025 Steps to reproduce: 1. Insert a xtab. 2. Insert another xtab to first xtab's row area. 3. Preview in web viewer and html (attach report). Expected result: Display data for two xtabs. Actual result: Html display data correctly. Web Viewer can only display data for parent xtab. Error log:N/A
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/AggregationResultSetSaveUtil.java
/**
	 * 
	 * @param outputStream
	 * @param aggregationDef
	 * @throws IOException 
	 */
	private static void saveMetaData( DataOutputStream outputStream, AggregationResultSet resultSet ) throws IOException
	{
		
			
		DimLevel[] levels = resultSet.getAllLevels( );
		String[] dimensionNames = null;
		String[] levelNames = null;
		if ( levels != null )
		{
			dimensionNames = new String[levels.length];
			levelNames = new String[levels.length];
			for ( int i = 0; i < levels.length; i++ )
			{
				dimensionNames[i] = levels[i].getDimensionName( );
				levelNames[i] = levels[i].getLevelName( );
			}
		}
		
		writeObjectArray( outputStream, dimensionNames );
		writeObjectArray( outputStream, levelNames);
		
			
		writeObjectArray( outputStream, resultSet.getLevelKeys( ) );