Bug 167395 Current version BIRT can't support SVG well.
step: 1.Creat a new report with a chart in svg form. 2.preview the report and save the svg image to a file "test.svg". 3.Creat another new report. Add an image to the report. The dialog "Edit Image Item" will diaplay. 4.In the dialog "Edit Image Item",choose "Embedded image". Press the button "Add Image" to add the "test.svg". choose the "test.svg" and press the button "Insert", exception happens. BIRT code version: 2006.12.11 afternoon.
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/ImageManager.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.designer.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.apache.batik.transcoder.TranscoderException;
import org.apache.batik.transcoder.TranscoderInput;
import org.apache.batik.transcoder.TranscoderOutput;
import org.apache.batik.transcoder.image.JPEGTranscoder;