Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
 renderOption instanceof HTMLRenderOption )
		{
			HTMLRenderOption htmlOption = (HTMLRenderOption) renderOption;
			
			 htmlOption.getIncludeSelectionHandle( )
					&& generateBy instanceof ExtendedItemDesign )
			{
				endSelectHandleTableChart( );
			}
		}		
	}
	
	**
	 * bug128480
	 * render chard with a highlight handle
	 *
	 void startSelectHandleTableChart( IContent content )
	{
		writer.openTag( HTMLTags.TAG_TABLE );
		
		 set the id and iid to the out table
		
		String b = content.getB( );
		 b == null )
		{
			b = generateUniqueID( );
			content.setB( b );
		}
		setB( HTMLTags.ATTR_IMAGE, b ); 
		 If the image is a chart, add it to active id list, and output type ��iid to html
		setActiveIDTypeIID( content );
		
		ttribute( HTMLTags.ATTR_STYLE, "w:100%" );
		writer.openTag( HTMLTags.TAG_COL );
		ttribute( HTMLTags.ATTR_STYLE, "w:18px;background-color:#cccccc" );
		writer.closeTag( HTMLTags.TAG_COL );
		writer.openTag( HTMLTags.TAG_COL );
		ttribute( HTMLTags.ATTR_STYLE, "w:95%" );
		writer.closeTag( HTMLTags.TAG_COL );
		writer.openTag( HTMLTags.TAG_TR );
		writer.openTag( HTMLTags.TAG_TD );
		writer.closeTag( HTMLTags.TAG_TD );
		writer.openTag( HTMLTags.TAG_TD );
	}
	
	 void endSelectHandleTableChart( )
	{
		writer.closeTag( HTMLTags.TAG_TD );
		writer.closeTag( HTMLTags.TAG_TR );
		writer.closeTag( HTMLTags.TAG_TABLE );		
	}
	**
	 * gets the image's URI
	 * 
	 * @param image
	 *            the image content
	 * @return image's URI
	 *
	 String getImageURI( IImageContent image )
	{
		String imgUri = null;
		 imageHandler != null )
		{
			Image img = new Image( image );
			img.setRenderOption( renderOption );
			img.setReportRunnable( runnable );
			switch ( img.getSource( ) )
			{
				case IImage.DESIGN_IMAGE :
					imgUri = imageHandler.onDesignImage( img, renderContext );
					break;
				case IImage.URL_IMAGE :
					imgUri = imageHandler.onURLImage( img, renderContext );
					break;
				case IImage.REPORTDOC_IMAGE :
					imgUri = imageHandler.onDocImag