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
{
		RAOutputStream outputStream = writer.createRandomAccessStream( name );
		DataOutputStream dataOutputStream = new DataOutputStream( outputStream );
		
		if(resultSets==null)
		{
			dataOutputStream.writeInt( -1 );
			return;
		}
		dataOutputStream.writeInt( resultSets.length );
		dataOutputStream.close( );
		for( int i=0;i<resultSets.length;i++)
		{
			outputStream = writer.createRandomAccessStream( name + i );
			dataOutputStream = new DataOutputStream( outputStream );
			saveOneResultSet( dataOutputStream, resultSets[i] );
		}
	}
	
	/**
	 * 
	 * @param name
	 * @param reader
	 * @throws IOException
	 */
	public static IAggregationResultSet[] load( String name, IDocArchiveReader reader ) throws IOException
	{
		RAInputStream inputStream = reader.getStream( name );
		DataInputStream dataInputStream = new DataInputStream( inputStream );