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/extension/PeerExtensionTest.java
import org.eclipse.birt.report.model.elements.interfaces.IImageItemModel;
import org.eclipse.birt.report.model.elements.interfaces.IStyleModel;
import org.eclipse.birt.report.model.i18n.ThreadResources;
import org.eclipse.birt.report.model.metadata.ElementDefn;
import org.eclipse.birt.report.model.metadata.ElementRefValue;
import org.eclipse.birt.report.model.metadata.ExtensionElementDefn;
import org.eclipse.birt.report.model.metadata.ExtensionPropertyDefn;
import org.eclipse.birt.report.model.metadata.MetaDataDictionary;
import org.eclipse.birt.report.model.metadata.PropertyDefn;
import org.eclipse.birt.report.model.metadata.PropertyType;
import org.eclipse.birt.report.model.util.BaseTestCase;
import com.ibm.icu.util.ULocale;
/**
 * New cases for report item extension should be added here.
 * <p>
 * Tests the cases for the peer extension enhancement: slot definition.
 */
public class PeerExtensionTest extends BaseTestCase
{
	protected static final String HEADER_PROP = "header"; 
	protected static final String DETAIL_PROP = "detail"; 
	protected static final String FOOTER_PROP = "footer"; 
	protected static final String TESTING_BOX_NAME = "TestingBox"; 
	private static final String FILE_NAME = "PeerExtensionTest.xml"; 
	private static final String FILE_NAME_1 = "PeerExtensionTest_1.xml"; 
	private static final String FILE_NAME_2 = "PeerExtensionTest_2.xml"; 
	private static final String FILE_NAME_3 = "PeerExtensionTest_3.xml"; 
	private static final String FILE_NAME_5 = "PeerExtensionTest_5.xml";
	private static final String FILE_NAME_6 = "PeerExtensionTest_6.xml"; 
	private static final String FILE_NAME_7 = "PeerExtensionTest_7.xml";