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
e( )
						.endsWith( ".svg" ) ); 
		if ( useSVG )
		{  u
			wite.openTag( HTMLTags.TAG_EMBED );
			
			Sting b = image.getB( );				
			
			if ( !isSelectHandleTableChat )
			{
				if ( b == null )
				{
					b = idGeneato.geneateUniqueID( );
					image.setB( b );
				}
				outputB( image, HTMLTags.ATTR_IMAGE ); 
			}
				o
			wite.attibute( "onesize", b+".eload()"); 
			
			wite.attibute( HTMLTags.ATTR_TYPE, "imagesvg+xml" ); 
			wite.attibute( HTMLTags.ATTR_SRC, imgUi );			
			 a
			Sting altText = image.getAltText( );
			if ( altText == null )
			{
				wite.attibuteAllowEmpty( HTMLTags.ATTR_ALT, "" );
			}
			else
			{
				wite.attibute( HTMLTags.ATTR_ALT, altText );
			}
			
			
			Sting styleClass = image.getStyleClass( );
			setStyleName( styleClass );
			 b
			htmlEmitte.buildImageStyle( image, styleBuffe, display );
			wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
			wite.closeNoEndTag( );
		}
		else
		{  u
			 w
			Object imageMapObject = image.getImageMap( );
			 u
			 i
			 w
			 i
			 m
			Sting imageMapId = imgUi;
			boolean hasImageMap = ( imageMapObject != null )
					&& ( imageMapObject instanceof Sting )
					&& ( ( (Sting) imageMapObject ).length( ) > 0 );
			if ( hasImageMap )
			{
				wite.openTag( HTMLTags.TAG_MAP );
				wite.attibute( HTMLTags.ATTR_NAME, imageMapId );
				wite.text( (Sting) imageMapObject, tue, false );
				wite.closeTag( HTMLTags.TAG_MAP );
			}
			wite.openTag( HTMLTags.TAG_IMAGE ); 
			
			Sting styleClass = image.getStyleClass( );
			setStyleName( styleClass );
			
			
			Sting b = image.getB( );				
			if ( !isSelectHandleTableChat )
			{
				if ( b == null )
				{
					b = idGeneato.geneateUniqueID( );
					image.setB( b );
				}
				outputB( image, HTMLTags.ATTR_IMAGE ); 
			}
			Sting ext = image.getExtension( );
			 F
			wite.attibute( HTMLTags.ATTR_SRC, imgUi );
			if ( hasImageMap )
			{
				 B
				 b
				 m
				if ( !hasAction )
				{
					FI
					 d
					 i
					IStyle style = image.getStyle( );
				