Bug 209309 Show javascript errorposition
If a javascript expression has errors, the error message is shown in the last lines in the preview tab. But there is no info where the error occurs. In most cases you had to guess the error location. It would be very helpfull to display the error location.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
if ( fmt == null )
		{
			fmt = new NumberFormatter( value, ULocale.forLocale(locale) );
			numberFormatters.put( value, fmt );
		}
		return fmt;
	}
	/**
	 * get a date formatter object
	 * 
	 * @param value
	 *            date format
	 * @return formatter object
	 */
	public DateFormatter getDateFormatter( String value )
	{	
		DateFormatter fmt = null;
		if ( value != null )
		{
			fmt = (DateFormatter) dateFormatters.get( value );
			if ( fmt == null )
			{
				fmt = new DateFormatter( value, ULocale.forLocale( locale ),
						timeZone );
				dateFormatters.put( value, fmt );
			}
			return fmt;
		}
		return new DateFormatter( value, ULocale.forLocale( locale ), timeZone );
	}