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/SVGGraphics2D.java
}
		elem.setAttribute("style", style);
		if ( transforms.getType( ) != AffineTransform.TYPE_IDENTITY )
		{
			double[] matrix = new double[6];
			transforms.getMatrix( matrix );
			elem.setAttribute( "transform", "matrix(" + matrix[0] + "," + matrix[1] + "," + matrix[2] + "," + matrix[3] + "," + matrix[4] + "," + matrix[5] + ")" ); 
		}
		
		return elem;
	}
	
	protected String getRenderingStyle(Object key){
		Object value = renderingHints.get(key);
		if (key.equals(RenderingHints.KEY_TEXT_ANTIALIASING)){
			if (value.equals(RenderingHints.VALUE_TEXT_ANTIALIAS_OFF))
				return "text-rendering:optimizeSpeed;"; 
			else
				
				return "";   
		}
		return ""; 	
	}
	protected Element createRect( double arg0, double arg1, double arg2,
			double arg3 )
	{
		Element elem = createElement( "rect" ); 
		elem.setAttribute( "x", Double.toString( arg0 ) ); 
		elem.setAttribute( "y", Double.toString( arg1 ) ); 
		elem.setAttribute( "width", Double.toString( arg2 ) );