Bug 179629 After create a x-tab with a cube, a error occurs in Problems sheet[1102]
Description: After create a x-tab with a cube, a error occurs in Problems sheet[1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1, Create a cube 2, Create a x-tab using the cube 3, Check the error message in Problems sheet Expected result: No error occurs after create a x-tab Actual result: The error message is "The ExtendedItem must be able to access one data set."
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/DataSetRequiredValidator.java
private List doValidate( Module module, DesignElement toValidate )
	{
		List list = new ArrayList( );
		DesignElement container = toValidate;
		ContainerContext containerInfo = null;
		boolean dataSetFound = false;
		if ( toValidate instanceof ExtendedItem || toValidate instanceof Cube )
		{
			String propName = toValidate instanceof ExtendedItem
					? IReportItemModel.DATA_SET_PROP
					: ITabularCubeModel.DATA_SET_PROP;
			if ( toValidate.getReferenceProperty( module, propName ) != null )
			{
				dataSetFound = true;
			}
			else
			{
				while ( container.getContainer( ) != null )
				{
					containerInfo = container.getContainerInfo( );
					container = container.getContainer( );
				}
			}
		}
		else if ( toValidate instanceof ListingElement )
		{
			while ( container.getContainer( ) != null && !dataSetFound )
			{
				if ( container instanceof ListingElement )
				{