Bug 146709 Dates still do not work from main report to sub reports...
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/ParameterValidationUtil.java
* @param value
	 *            the value to validate
	 * @param locale
	 *            the locale information
	 * @return the double value if validation is successful
	 * @throws ValidationValueException
	 *             if the value is invalid
	 */
	static final Number doValidateNumber( String dataType, String value,
			ULocale locale ) throws ValidationValueException
	{
		assert DesignChoiceConstants.PARAM_TYPE_FLOAT
				.equalsIgnoreCase( dataType )
				|| DesignChoiceConstants.PARAM_TYPE_DECIMAL
						.equalsIgnoreCase( dataType );
		value = StringUtil.trimString( value );
		if ( value == null )
			return null;
		NumberFormat localeFormatter = NumberFormat.getNumberInstance( locale );
		try
		{
			
			
			return localeFormatter.parse( value );
		}
		catch ( ParseException e )
		{
			throw new ValidationValueException( value,
					PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE,
					dataType );