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
 = new StringBuffer( );
			 build size
			lder.buildSize( buffer, HTMLTags.ATTR_WIDTH, image
					.getW( ) ); 
			lder.buildSize( buffer, HTMLTags.ATTR_HEIGHT, image
					.getHeight( ) ); 
			 handle inline style
			handleStyle( image, buffer, false );
			writer.closeNoEndTag( );
		}
		else
		{  use img
			 write image map if necessary
			Object imageMapObject = image.getImageMap( );
			 use imgUri as the image ID. As we know only the CHART can have
			 image maps and each chart
			 will have differnt URI, so it is safe for CHART. (If the named
			 image also support image
			 map, then we must use another way to get the image ID.
			String imageMapId = imgUri;
			boolean hasImageMap = ( imageMapObject != null )
					&& ( imageMapObject instanceof String )
					&& ( ( (String) imageMapObject ).length( ) > 0 );
			 hasImageMap )
			{
				writer.openTag( HTMLTags.TAG_MAP );
				ttribute( HTMLTags.ATTR_NAME, imageMapId );
				writer.text( (String) imageMapObject, true, false );
				writer.closeTag( HTMLTags.TAG_MAP );
			}
			writer.openTag( HTMLTags.TAG_IMAGE ); 
			setStyleName( image.getStyleClass( ) );
			setDisplayProperty( display, 0, styleBuffer );
			
			
			String b = image.getB( );				
			 !isSelectHandleTableChart )
			{
				 b == null )
				{
					b = generateUniqueID( );
					image.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( image );
			}
			else
			{
				b = generateUniqueID( );
				setB( HTMLTags.ATTR_IMAGE, b ); 
			}
			
			String ext = image.getExtension( );
			 special process, such as encoding etc
			ttribute( HTMLTags.ATTR_SRC, imgUri );
			 hasImageMap )
			{
				 BUGZILLA 119245 request chart (without hyperlink) can't have
				 borders, the BROWSER add blue-solid border to the image with
				 maps.
				 !hasAction )
				{
					 disable the border, if the user defines border with the
					 image, it will be overided by the f