Bug 198239 Memory leak using script and also localized strings
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemImpl.java
}
	
	protected void checkScriptSyntax( String string ) throws RhinoException
	{
		if ( string == null )
			return;
		
		if ( !isJavaClassName( string ) )
		{
			Context cx = Context.enter();
			cx.compileString(string, "chartScript", 1, null); 
		}
	}
	protected boolean isJavaClassName( String string )
	{
		return ( string.matches( "\\w+(\\.\\w*)*" ) ); 
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.extension.IElement#validate()
	 */
	public List validate( )
	{
		logger.log( ILogger.INFORMATION,
				Messages.getString( "ChartReportItemImpl.log.validate" ) ); 
		List list = new ArrayList( );
		if ( cm != null )
		{
			try