Bug 154304 Script generated in SVG chart when scripting disabled
If I use the Birt Chart API to render a chart to an SVG document and I call RunTimeContext.setScriptingEnabled(false) to disable scripting, the resulting document still contains scripts.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
ivRenderer.clear( );
	}
	/**
	 * Writes the XML document to an output stream
	 * 
	 * @param svgDocument
	 * @param outputStream
	 * @throws Exception
	 */
	private void writeDocumentToOutputStream( Document svgDocument,
			OutputStream outputStream ) throws Exception
	{
		if ( svgDocument != null && outputStream != null )
		{
			OutputStreamWriter writer = null;
			writer = new OutputStreamWriter( outputStream, "UTF-8" ); 
			DOMSource source = new DOMSource( svgDocument );
			StreamResult result = new StreamResult( writer );
			
			
			
			checkForTransformFactoryImpl( );
			TransformerFactory transFactory = TransformerFactory.newInstance( );
			Transformer transformer = transFactory.newTransformer( );
			transformer.transform( source, result );
		}
	}
	/**
	 * Check to see if we should change the implementation of the
	 * TransformFactory.