Bug 188219 If a column name has colon will lead the exceptions when using it as a dimension[1101]
Description: If a column name has colon will lead the exceptions when using it as a dimension[1101] Build number: 2.2.0.v20070522-0630 Steps to reproduce: 1, New a computed column name such as a:b 2, Using the a:b column as a dimension in cube builder or 1, New a joint dataset and left all the columns name by default 2, New a cube using the joint dataset 3, Drag one column to dimension in cube builder Expected result: The column a:b or the column name has colon can be used as dimension without any exception Actual result: Exception occurs when using the a:b column as dimension Error log: A BIRT exception occurred. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Model Plug-in ID:org.eclipse.birt.report.model Version:2.2.0.v20070522-0956 Error Code:Error.NameException.INVALID_NAME Error Message:The name "a:b" is invalid for it contains character ".", "/", "", "!", ";", "," .
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ElementFactoryTest.java
ReportDesignConstants.DATA_ITEM, null );
		assertTrue( element instanceof DataItemHandle );
		element = factory.newElement( ReportDesignConstants.CELL_ELEMENT, null );
		assertTrue( element instanceof CellHandle );
		element = factory.newElement( ReportDesignConstants.COLUMN_ELEMENT,
				null );
		assertTrue( element instanceof ColumnHandle );
		
		element = factory.newElement( ReportDesignConstants.DATA_SET_ELEMENT,
				null );
		assertNull( element );
		element = factory.newElement(
				ReportDesignConstants.DATA_SOURCE_ELEMENT, null );
		assertNull( element );
		element = factory
				.newElement( ReportDesignConstants.EXTENDED_ITEM, null );
		assertTrue( element instanceof ExtendedItemHandle );
		element = factory.newElement( ReportDesignConstants.FREE_FORM_ITEM,
				null );
		assertTrue( element instanceof FreeFormHandle );
		element = factory.newElement(
				ReportDesignConstants.GRAPHIC_MASTER_PAGE_ELEMENT, null );
		assertTrue( element instanceof GraphicMasterPageHandle );
		element = factory.newElement( ReportDesignConstants.GRID_ITEM, null );
		assertTrue( element instanceof GridHandle );
		element = factory.newElement( ReportDesignConstants.IMAGE_ITEM, null );
		assertTrue( element instanceof ImageHandle );
		element = factory.newElement( ReportDesignConstants.LABEL_ITEM, null );
		assertTrue( element instanceof LabelHandle );
		element = factory.newElement( ReportDesignConstants.LINE_ITEM, null );