Bug 149922 Image builder - URI and file source type are treated as same
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ImageState.java
}
		}
		else if ( DesignChoiceConstants.IMAGE_REF_TYPE_URL
				.equalsIgnoreCase( refType )
				|| DesignChoiceConstants.IMAGE_REF_TYPE_FILE
						.equalsIgnoreCase( refType ) )
		{
			String uri = image.getStringProperty( module, ImageItem.URI_PROP );
			if ( StringUtil.isEmpty( uri ) )
			{
				handler
						.getErrorHandler( ).semanticError( new DesignParserException(
								DesignParserException.DESIGN_EXCEPTION_INVALID_IMAGE_URL_VALUE ) );
			}
		}
		else if ( DesignChoiceConstants.IMAGE_REF_TYPE_EMBED
				.equalsIgnoreCase( refType ) )
		{
			String name = image.getStringProperty( module,
					ImageItem.IMAGE_NAME_PROP );
			if ( StringUtil.isEmpty( name ) )
			{
				handler
						.getErrorHandler( ).semanticError( new DesignParserException(
								DesignParserException.DESIGN_EXCEPTION_INVALID_IMAGE_NAME_VALUE ) );
			}
		}
		super.end( );
	}
}