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
ty-cells: show;" ); 
	}
	 void exportElementID( IContent content, String b,
			String type, ntID )
	{
		Object generateBy = content.getGenerateBy( );
		 generateBy instanceof TableItemDesign
				|| generateBy instanceof ListItemDesign
				|| generateBy instanceof ExtendedItemDesign
				|| generateBy instanceof LabelItemDesign
				|| generateBy instanceof TemplateDesign )
		{
			 renderOption instanceof HTMLRenderOption )
			{
				List htmlIds = ( (HTMLRenderOption) renderOption )
						.getInstanceIDs( );
				 htmlIds != null && b != null )
				{
					assert type != null;
					String newB = b + "," + type 
							+ "," + new Long( componentID ).toString();
					htmlIds.add( newB );
				}
			}
		}
	}
	 int bId = 0;
	 String generateUniqueID( )
	{
		bId ++;
		return "AUTOGENBOOKMARK_" + bId;
	}
	
	**
	 * Add element to active ID list. Output type & iid to html.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private void setActiveIDTypeIID( IContent content)
	{
		 If content is generated by LabelItemDesign or TemplateDesign,
		 ExtendedItemDesign, TableItemDesign
		 add it to active id list, and output type & iid to html
		Object genBy = content.getGenerateBy( );
		String type = null;
		genBy instanceof LabelItemDesign)
		{
			type = "LABEL";
		}
		else genBy instanceof TemplateDesign)
		{
			type = "TEMPLATE";
		}
		
		else if( genBy instanceof ExtendedItemDesign )
		{
			type = "EXTENDED" ;
		}
		else  genBy instanceof TableItemDesign )
		{
			type = "TABLE";
		}
		else genBy instanceof ListItemDesign)
		{
			type = "LIST";
		}
		type != null)
		{
			 I
			id = content.getInstanceID( );
			 active id
			ntID = ( iid != null ) ? iid.getComponentID() : 0;
			exportElementID( content, content.getB( ), type, componentID );
			 type
			ttribute( "element_type", type );
			 iid != null )
			{
				ttribute( "iid", iid.toString( ) );
			}
		}
	}
	
	**
	 * Resize chart template and table template element.
	 * 
	 * @param content
	 *            the styl