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
{
		Element elem = createElement( "line" ); 
		elem.setAttribute( "x1", Double.toString( arg0 ) ); 
		elem.setAttribute( "y1", Double.toString( arg1 ) ); 
		elem.setAttribute( "x2", Double.toString( arg2 ) ); 
		elem.setAttribute( "y2", Double.toString( arg3 ) ); 
		return elem;
	}
	protected Element createShape( Shape shape )
	{
		PathIterator pathIter = shape.getPathIterator( null );
		String pathStr = ""; 
		while ( !pathIter.isDone( ) )
		{
			double[] points = new double[6];
			int TYPE = pathIter.currentSegment( points );
			switch ( TYPE )
			{
				case PathIterator.SEG_CLOSE :
					pathStr += " Z"; 
					break;
				case PathIterator.SEG_LINETO :
					pathStr += " L" + points[0] + " " + points[1]; 
					break;
				case PathIterator.SEG_QUADTO :
					pathStr += " Q" + points[0] + " " + points[1] + " " + points[2] + " " + points[3]; 
					break;
				case PathIterator.SEG_CUBICTO :
					pathStr += " C" + points[0] + " " + points[1] + " " + points[2] + " " + points[3] + " " + points[4] + " " + points[5]; 
					break;