Bug 140963 Double quotation should be added to image from resource path automatically.
Description: Double quotation should be added to image automatically after select it from resource path. Steps to reproduce: 1. Insert a image 2. Select image file from BIRT resource path folder and click OK 3. Preview. Expected result: After click OK, double quotation should be added to image file automatically. Preview is ok without errors. Actual result: There are errors on the report page: -There are error(s) in Image : 5 Error0 : Error.ScriptEvaluationError ( 1 time(s) ) detail : org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "mine.jpg". at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:542) at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:504) at org.eclipse.birt.report.engine.executor.ImageItemExecutor.handleURIImage(ImageItemExecutor.java:192) at org.eclipse.birt.report.engine.executor.ImageItemExecutor.handleImage(ImageItemExecutor.java:145)
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ImageBuilder.java
private void swtichToEmbeddedType( )
	{
		embeddedImageList = new List( inputArea, SWT.NONE
				| SWT.SINGLE
				| SWT.BORDER
				| SWT.V_SCROLL
				| SWT.H_SCROLL );
		embeddedImageList.setLayoutData( new GridData( GridData.FILL_BOTH ) );
		embeddedImageList.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent event )
			{
				preview( );
				updateButtons( );
			}
		} );
		Composite buttonBar = new Composite( inputArea, SWT.NONE );
		buttonBar.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		buttonBar.setLayout( new GridLayout( 2, false ) );
		Button importButton = new Button( buttonBar, SWT.PUSH );
		importButton.setText( DLG_IMPORT_BUTTON );
		GridData gd = new GridData( GridData.HORIZONTAL_ALIGN_END );
		gd.grabExcessHorizontalSpace = true;
		importButton.setLayoutData( gd );
		importButton.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent event )
			{
				FileDialog fileChooser = new FileDialog( getShell( ), SWT.OPEN );
				fileChooser.setText( Messages.getString( "ImageBuilder.Chooser.Title" ) ); 
				fileChooser.setFilterExtensions( IMAGE_FILEFILTERS );
				try