Bug 191155 Cross table that exoport to library is invalid
Description: Cross table that exoport to library is invalid Step: 1.New a report, new a datasource, dataset and date cute. 2.Insert a cross table and binding the data cute. 3.Drop the dimensions and measures into cross table. 4.Export the report to library 5.New another report and use the library 6.Drop the cross table from library into layout 7.Preview Actual result: The cross table is invalid and pop up the error
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ElementExporterTest.java
* 
	 * @throws Exception
	 *             if any exception
	 */
	public void testExportingLabelWithExtends( ) throws Exception
	{
		openDesign( "ElementExporterTest.xml" ); 
		openLibrary( "ElementExporterTestLibrary.xml" ); 
		LabelHandle labelHandle = (LabelHandle) designHandle
				.findElement( "label3" ); 
		ElementExportUtil.exportElement( labelHandle, libraryHandle, false );
		saveLibrary( );
		assertTrue( compareFile( "ElementExporterTestLibrary_golden_3.xml" ) ); 
	}
	/**
	 * Tests exporting table to library file.
	 * 
	 * @throws Exception
	 *             if any exception.
	 */
	public void testExportingTable( ) throws Exception
	{
		openDesign( "ElementExporterTest.xml" ); 
		openLibrary( "ElementExporterTestLibrary.xml" ); 
		TableHandle tableHandle = (TableHandle) designHandle
				.findElement( "table1" ); 
		ElementExportUtil.exportElement( tableHandle, libraryHandle, false );
		saveLibrary( );
		assertTrue( compareFile( "ElementExporterTestLibrary_golden_4.xml" ) ); 
	}