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
;
			ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
		}
		else
		{
			setStyleName( styleName );					
		}	
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startPage(org.eclipse.birt.report.engine.content.IPageContent)
	 *
	public void startPage( IPageContent page )
	{
		pageNo++;
		
		 pageNo > 1 && outputMasterPageContent == false )
		{
			writer.openTag( "hr" );
			writer.closeTag( "hr" );
		}
		
		writer.openTag( HTMLTags.TAG_DIV );
		 renderOption != null && renderOption instanceof HTMLRenderOption )
		{
			HTMLRenderOption htmlOption = (HTMLRenderOption) renderOption;
			boolean htmlRtLFlag = htmlOption.getHtmlRtLFlag( );
			 htmlRtLFlag )
			{
				ttribute( HTMLTags.ATTR_HTML_DIR, "RTL" );
			}
		}
		 pageNo > 1 )
		{
			ttribute( HTMLTags.ATTR_STYLE, "page-break-before: always;" );
		}
		
		 page != null )
		{
			 outputMasterPageContent )
			{
				
				writer.openTag( HTMLTags.TAG_DIV );		
				handlePageStyle( page.getPageHeader().getStyleClass( ), page.getPageHeader().getStyle( ) );
				
				contentVisitor.visitList( page.getHeader( ), null );
				
				
				writer.closeTag( HTMLTags.TAG_DIV );
			}
			}
		
		 
		writer.openTag( HTMLTags.TAG_DIV );
		 page != null )
		{
			IContent pageBody = page.getPageBody( );
			IStyle bodyStyle = pageBody.getStyle( );
			dyStyleName = pageBody.getStyleClass( );
			
			Object genBy = page.getGenerateBy( );
			 genBy instanceof MasterPageDesign )
			{
				MasterPageDesign masterPage = (MasterPageDesign) genBy;
				StringBuffer styleBuffer = new StringBuffer( );
				 isEmbeddable )
				{
					lder.buildStyle( styleBuffer, bodyStyle, this );
				}
				else
				{
					setStyleName( bodyStyleName );
				}
				lder.buildSize( styleBuffer,
						HTMLTags.ATTR_MIN_HEIGHT,
						masterPage.getPageHeight( ) );
				ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
			}
		}
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#endP