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
protected Element codeScript;
	protected String styleClass;
	protected String id;
	protected StringBuffer scriptBuffer = new StringBuffer();
	protected StringBuffer styleBuffer = new StringBuffer();
	protected Element deferStrokColor = null;	
	protected String primitiveId = null;
	private RenderingHints renderingHints = new RenderingHints(null);
	protected static final String defaultStyles = "fill:none;stroke:none"; 
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.device.svg/trace" ); 
	public SVGGraphics2D( Document dom )
	{
		this.dom = dom;
		fontRenderContext = new FontRenderContext( new AffineTransform( ),
				true,
				false );
		currentElement = dom.getDocumentElement( );
		parentStack.push( currentElement );
		currentParent = currentElement;
		
		currentElement = dom.createElement( "g" ); 
		definitions = dom.createElement( "defs" ); 
		
		currentElement.setAttribute("id", "outerG"); 
		currentElement.appendChild( definitions );
		currentElement.setAttribute( "style", defaultStyles ); 
		pushParent( currentElement );
		transforms = new AffineTransform( );
		initializeScriptStyles( );
	}