Bug 200919 Add quotation for column containing separator character when export data.[0002]
Description: Add quotation for column containing separator character when export data. Build number:2.2.1.v20070823 Steps to reproduce: 1. New sample data source and dataset. 2. Add a computed column with name a,b and value "a,b". 3. Drag the dataset to Layout. 4. Preview in Web Viewer and Export Data with Comma. Expected result: Column name is quoated as values. Actual result: Column name a,b isn't quotated so it will be treated as two columns. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
.toOdaDataType( typeClass );
							String odaTypeName = DataUtil
									.getOdaTypeName( odaTypeCode );
							types.put( colName, odaTypeName );
						}
						buf.append( (String) types.get( columnNames[0] ) );
						for ( int i = 1; i < columnNames.length; i++ )
						{
							buf.append( sep );
							buf.append( (String) types.get( columnNames[i] ) );
						}
						buf.append( '\n' );
						outputStream.write( buf.toString( ).getBytes( ) );
						buf.delete( 0, buf.length( ) );
					}
					
					while ( iData.next( ) )
					{
						String value = null;
						try
						{
							value = csvConvertor( (String) DataTypeUtil
									.convert( iData.getValue( columnNames[0] ),
											DataType.STRING_TYPE ), sep );
						}
						catch ( Exception e )
						{
							
						}
						if ( value != null )