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 resultSet
	 * @throws IOException
	 */
	private static void saveOneResultSet( DataOutputStream outputStream, IAggregationResultSet resultSet ) throws IOException
	{
		if( resultSet instanceof AggregationResultSet )
		{
			saveMetaData( outputStream, (AggregationResultSet) resultSet );
			saveAggregationRowSet( outputStream, (AggregationResultSet) resultSet );
		}
		outputStream.close( );
	}
	
	/**
	 * 
	 * @param outputStream
	 * @param resultSet
	 * @throws IOException 
	 */
	private static void saveAggregationRowSet( DataOutputStream outputStream, AggregationResultSet resultSet ) throws IOException
	{
		IOUtil.writeInt( outputStream, resultSet.length( ) );
		for( int i=0;i<resultSet.length( );i++)
		{
			resultSet.seek( i );