Bug 211186 [Regression] All chart script does not work [13]
Description: All chart script does not work. Build number: 2.3.0.v20071128-0800 Steps to reproduce: 1. New a chart, select the chart and change to Script tab, add some functions. 2. Preview. Expected result: The scripts works. Actual result: The scripts does not work. Error log: N/A
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemImpl.java
* 
	 * @param va
	 *            version number 1.
	 * @param vb
	 *            version number 2.
	 * @return
	 */
	private static int compareVersion( String va, String vb )
	{
		String[] vas = va.split( "\\." ); 
		String[] vbs = vb.split( "\\." ); 
		List vaList = new ArrayList( );
		for ( int i = 0; i < vas.length; i++ )
		{
			vaList.add( vas[i].trim( ).equals( "" ) ? "0" : vas[i] ); 
		}
		List vbList = new ArrayList( );
		for ( int i = 0; i < vbs.length; i++ )
		{
			vbList.add( vbs[i].trim( ).equals( "" ) ? "0" : vbs[i] ); 
		}
		if ( vas.length < vbs.length )
		{
			for ( int i = vas.length; i < vbs.length; i++ )
			{
				vaList.add( "0" ); 
			}
		}
		else if ( vas.length > vbs.length )
		{