Bug 149922 Image builder - URI and file source type are treated as same
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/StringUtil.java
* <li>1.2.3
	 * <li>3.5.0
	 * </ul>
	 * <p>
	 * Note:This implementation treats "1.0.0" and "1" are same version.The
	 * result is unexpectable if the version string contains alphabetic
	 * character.
	 * 
	 * @param versionA
	 *            the given version string
	 * @param versionB
	 *            the given version string
	 * @return <code>-1</code> if <code>versionA</code> is lower than
	 *         <code>versionB</code>;<code>0</code> if
	 *         <code>versionA</code> is equal to <code>versionB</code>;
	 *         otherwise, return <code>1</code>.
	 */
	public static int compareVersion( String versionA, String versionB )
	{
		if ( versionA == null && versionB == null )
			return 0;
		if ( versionA == null && versionB != null )
			return -1;
		if ( versionA != null && versionB == null )
			return 1;
		String[] stringsA = versionA.split( "\\." ); 
		String[] stringsB = versionB.split( "\\." ); 
		int i = 0;
		for ( ; i < stringsA.length; i++ )
		{