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/src/org/eclipse/birt/report/model/api/util/ElementExporter.java
if ( !( root instanceof ReportDesignHandle ) )
		{
			throw new IllegalArgumentException(
					"The element to export must be in design file." ); 
		}
		if ( StringUtil.isBlank( elementToExport.getName( ) ) )
		{
			throw new IllegalArgumentException(
					"The element must have name defined." ); 
		}
	}
	/**
	 * Checks whether the given structure is suitable for exporting.
	 * <ul>
	 * <li>The structure must be in design file.
	 * <li>The structure must have name property value.
	 * <li>The structure must be one of <code>EmbeddedImage</code>,
	 * <code>CustomColor</code> and <code>ConfigVariable</code>.
	 * </ul>
	 * 
	 * @param structToExport
	 *            handle of the structure to export
	 */
	static void checkStructureToExport( StructureHandle structToExport )
	{
		String memberName = null;
		String propName = null;
		
		String structName = structToExport.getDefn( ).getName( );
		if ( EmbeddedImage.EMBEDDED_IMAGE_STRUCT.equals( structName ) )