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
ge is offset below the top edge of the box's containing
	 *            block.
	 * @param w
	 *            The w of the element.
	 * @param height
	 *            The height of the element.
	 * @param style
	 *            The <code>IStyle<code> object.
	 * @param styleBuffer
	 *            The <code>StringBuffer<code> object that returns 'style'
	 *            content.
	 * @return The display type of the element.
	 *
	 int checkElementType( DimensionType x, DimensionType y,
			IStyle style, StringBuffer styleBuffer )
	{
		return checkElementType( x, y, null, null, style, styleBuffer );
	}
	 int checkElementType( DimensionType x, DimensionType y,
			DimensionType w, DimensionType height, IStyle style,
			StringBuffer styleBuffer )
	{
		int type = 0;
		String display = null;
		 style != null )
		{
			display = style.getDisplay( );
		}
		 EngineIRConstants.DISPLAY_NONE.equalsIgnoreCase( display ) )
		{
			type |= DISPLAY_NONE;
		}
		 x != null || y != null )
		{
			styleBuffer.append( "position: absolute;" ); 
			lder.buildSize( styleBuffer, HTMLTags.ATTR_LEFT, x );
			lder.buildSize( styleBuffer, HTMLTags.ATTR_LEFT, y );
			return type | DISPLAY_BLOCK;
		}
		else  EngineIRConstants.DISPLAY_INLINE.equalsIgnoreCase( display ) )
		{
			type |= DISPLAY_INLINE;
			 w != null || height != null )
			{
				type |= DISPLAY_INLINE_BLOCK;
			}
			return type;
		}
		return type | DISPLAY_BLOCK;
	}
	**
	 * Open a tag according to the display type of the element. Here is the
	 * mapping table:
	 * <p>
	 * <table border=0 cellspacing=3 cellpadding=0 summary="Chart showing
	 * symbol, location, localized, and meaning.">
	 * <tr bgcolor="#ccccff">
	 * <th align=left>Display Type<th>
	 * <th align=left>Tag name<th>
	 * <tr>
	 * <tr valign=middle>
	 * <td>DISPLAY_BLOCK<td>
	 * <td>DIV<td>
	 * <tr>
	 * <tr valign=top bgcolor="#eeeeff">
	 * <td>DISPLAY_INLINE<td>
	 * <td>SPAN<td>
	 * <tr>
	 * <table>
	 * 
	 * @param display
	 *            The display type.
	 * @param mask
	 *            The