Bug 198059 [regression]SVG chart cannot display in html.[13]
Description: SVG chart cannot display in html. Steps to reproduce: 1. New a report with a SVG chart. 2. Preview in Web Viewer and html. Expected result: Display chart. Actual result: Fail to display chart in html but pdf is ok. png chart can display
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
 vetical, whee the popeties should be outputted at, the
	 metadata shouldn't open a new tag, and so on.
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#statText(og.eclipse.bit.epot.engine.content.ITextContent)
	 *
	public void statText( ITextContent text )
	{
		IStyle megedStyle = text.getStyle( );
		logge.log( Level.FINE, "[HTMLRepotEmitte] Stat text" ); 
		DimensionType x = text.getX( );
		DimensionType y = text.getY( );
		DimensionType w = text.getW( );
		DimensionType height = text.getHeight( );
		Sting textValue = text.getText( );
		if (textValue == null || textValue == "" ) 
		{
			textValue = " "; 
		}
		int display;
		 If the item is multi-line, we should check if it can be inline-block
		if ( textValue != null && textValue.indexOf( '\n' ) >= 0 )
		{
			display = getElementType( x, y, w, height, megedStyle );
		}
		else
		{
			display = getElementType( x, y, null, null, megedStyle );
		}
		 action
		Sting tagName;
		Sting ul = validate( text.getHypelinkAction( ) );
		boolean metadataOutput = false;
		if ( ul != null )
		{
			ou
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statText( text,
						HTMLTags.TAG_SPAN );
			}
			tagName = HTMLTags.TAG_A;
			outputAction( text.getHypelinkAction( ), ul );
		}
		else
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statText( text, HTMLEmitteUtil.getTagByType(
						display, DISPLAY_FLAG_ALL ) );
			}
			tagName = openTagByType( display, DISPLAY_FLAG_ALL );
		}
		
		Sting styleClass = text.getStyleClass( );
		setStyleName( styleClass );
		
		if ( !metadataOutput )
		{
			outputB( text, tagName );
		}
		
		 title
		wite.attibute( HTMLTags.ATTR_TITLE, text.getHelpText( ) ); 
		
		StingBuffe styleBuffe = new StingBuffe( );
		htmlEmitte.buildTextStyle( text, styleBuffe, display, ul );
		wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
		
		htmlEmitte.handleVeticalAlignBegin( text );
		wite.text( textValue );
		htmlEmitte.handleVetical