Bug 210507 Enhance Report engine to support multiple view
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/ReportParser.java
throws DesignFileException
	{
		ReportDesignHandle designHandle = getDesignHandle( name, in );
		return parse( designHandle );
	}
	
	/**
	 * parse the XML input stream.
	 * 
	 * @param name
	 *            design file name
	 * @return created report IR, null if exit any errors.
	 */
	public Report parse( String name ) throws DesignFileException
	{
		ReportDesignHandle designHandle = getDesignHandle( name, null );
		return parse( designHandle );
	}
	public ReportDesignHandle getDesignHandle( String name, InputStream in )
			throws DesignFileException
	{
		
		SessionHandle sessionHandle = new DesignEngine( new DesignConfig( ) )
				.newSessionHandle( ULocale.getDefault( ) );
		
		
		IResourceLocator locator = (IResourceLocator) options
				.get( ModuleOption.RESOURCE_LOCATOR_KEY );
		if ( locator != null )
		{