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 static final String[] IMAGE_TYPES = new String[]{
			".bmp",
			".jpg",
			".jpeg",
			".jpe",
			".jfif",
			".gif",
			".png",
			".tif",
			".tiff",
			".ico"
	};
	private static final String[] IMAGE_FILEFILTERS = new String[]{
		"*.bmp;*.jpg;*.jpeg;*.jpe;*.jfif;*.gif;*.png;*.tif;*.tiff;*.ico"
	};
	
	
	private static final String DLG_IMPORT_BUTTON = Messages.getString( "ImageBuilder.Button.Import" ); 
	private static final String DLG_PREVIEW_LABEL = Messages.getString( "ImageBuilder.Button.Preview" ); 
	private static final String DLG_ENTER_URI_LABEL = Messages.getString( "ImageBuilder.Label.EnterUri" ); 
	private static final String DLG_EMBEDDED_IMAGE_LABEL = Messages.getString( "ImageBuilder.Label.EmbededImage" ); 
	private static final String DLG_URI_LABEL = Messages.getString( "ImageBuilder.Label.URI" ); 
	private static final String DLG_SELECT_PICTURE_LABEL = Messages.getString( "ImageBuilder.Label.SelectFrom" ); 
	private static final String DLG_INSERT_BUTTON_MSG = Messages.getString( "ImageBuilder.Button.Insert" ); 
	public static final String DLG_TITLE_NEW = Messages.getString( "ImageBuilder.DialogTitle.New" ); 
	public static final String DLG_TITLE_EDIT = Messages.getString( "ImageBuilder.DialogTitle.Edit" );