Bug 315315 Warning messages seen while starting up workbench
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/SerializerImpl.java
sbChart.deleteCharAt( sbChart.length( ) - 1 );
		}
		return sbChart;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.birt.chart.model.ISerialization#read(org.eclipse.emf.common
	 * .util.URI)
	 */
	public Chart read( URI uri ) throws IOException
	{
		
		ResourceSet rsChart = new ResourceSetImpl( );
		rsChart.getResourceFactoryRegistry( )
				.getExtensionToFactoryMap( )
				.put( "chart", new ModelResourceFactoryImpl( ) ); 
		
		
		Resource rChart = null;
		rChart = rsChart.createResource( uri );
		Map<String, Object> options = new HashMap<String, Object>( );
		options.put( XMLResource.OPTION_ENCODING, "UTF-8" ); 
		rChart.load( options );
		return (Chart) rChart.getContents( ).get( 0 );
	}
	public Chart readEmbedded( final URI uri ) throws IOException
	{