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
LabelHandle baseLabelHandle = (LabelHandle) libHandle.getComponents( )
				.get( 0 );
		TableHandle baseTableHandle = (TableHandle) libHandle.getComponents( )
				.get( 1 );
		ElementFactory factory = designHandle.getElementFactory( );
		LabelHandle label1 = (LabelHandle) factory.newElementFrom(
				baseLabelHandle, "label1" ); 
		TableHandle table1 = (TableHandle) factory.newElementFrom(
				baseTableHandle, "table1" ); 
		designHandle.getBody( ).add( label1 );
		designHandle.getBody( ).add( table1 );
		design.getActivityStack( ).undo( );
		design.getActivityStack( ).undo( );
		assertNull( designHandle.findElement( "label1" ) ); 
		assertNull( designHandle.findElement( "table1" ) ); 
		ParameterGroupHandle baseParameterGroup = (ParameterGroupHandle) libHandle
				.getParameters( ).get( 0 );
		assertNotNull( baseParameterGroup );
		ParameterGroupHandle childParameterGroup = (ParameterGroupHandle) factory
				.newElementFrom( baseParameterGroup, "newPara" ); 
		designHandle.getParameters( ).add( childParameterGroup );
		childParameterGroup = (ParameterGroupHandle) factory.newElementFrom(
				baseParameterGroup, "newParaTwo" ); 
		designHandle.getParameters( ).add( childParameterGroup );
		save( );
		compareFile( "ElementFactoryTest_golden.xml" ); 
		
		int count = designHandle.getParameters( ).getCount( );
		for ( int i = count - 1; i >= 0; i-- )
		{