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
e = attribute.getNodeName( );
				String attrValue = attribute.getNodeValue( );
				 attrValue != null )
				{
					 "img".equalsIgnoreCase( nodeName )
							&& "src".equalsIgnoreCase( attrName ) )
					{
						String attrValueTrue = handleStyleImage( attrValue );
						 attrValueTrue != null )
						{
							attrValue = attrValueTrue;
						}
					}
					ttribute( attrName, attrValue );
				}
			}
		}
		 cssStyle != null )
		{
			StringBuffer buffer = new StringBuffer( );
			Iterator ite = cssStyle.entrySet( ).iterator( );
			while ( ite.hasNext( ) )
			{
				Map.Entry entry = (Map.Entry) ite.next( );
				Object keyObj = entry.getKey( );
				Object valueObj = entry.getValue( );
				 keyObj == null || valueObj == null )
				{
					continue;
				}
				String key = keyObj.toString( );
				String value = valueObj.toString( );
				buffer.append( key );
				buffer.append( ":" );
				 "background-image".equalsIgnoreCase( key ) )
				{
					String valueTrue = handleStyleImage( value );
					 valueTrue != null )
					{
						value = valueTrue;
					}
					buffer.append( "url(" );
					buffer.append( value );
					buffer.append( ")" );
				}
				else
				{
					buffer.append( value.replaceAll( " ", "" ) );
				}
				buffer.append( ";" );
			}
			 buffer.length( ) != 0 )
			{
				ttribute( "style", buffer.toString( ) );
			}
		}
	}
	public void endNode( Node node )
	{
		writer.closeTag( node.getNodeName( ) );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startLabel(org.eclipse.birt.report.engine.content.ILabelContent)
	 *
	public void startLabel( ILabelContent label )
	{
		String b = label.getB( );
		 b == null ) 
		{
			b = generateUniqueID( );
			label.setB( b );
		}
		startText( label );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startData(org.eclipse.birt.report.engine.content.IDataContent)
	 *
	public void startData( IDataContent data )
	{
		startText( data );
	}
	*
	 * (non