Bug 131243 Open invalid report design.
Open a invalid report design should switch to XML Source editor page and can't switch to other pages, when the source is correct user can switch to layout and other pages.
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/ui/editors/pages/ReportXMLSourceEditorFormPage.java
{
		return editor;
	}
	public void doSave( IProgressMonitor progressMonitor )
	{
		super.doSave( progressMonitor );
		IReportProvider provider = EditorUtil.getReportProvider( this, getEditorInput( ) );
		if ( provider != null && isValidModelFile( ) )
		{
			ModuleHandle model = provider.getReportModuleHandle( getEditorInput( ),
					true );
			SessionHandleAdapter.getInstance( ).setReportDesignHandle( model );
		}
	}
	private boolean isValidModelFile( )
	{
		IEditorInput input = getEditorInput( );
		if ( !( input instanceof IPathEditorInput ) )
		{
			return false;
		}
		boolean validModel = false;
		IPath path = ( (IPathEditorInput) input ).getPath( );
		try
		{
			if ( path.toOSString( )
					.endsWith( IReportEditorContants.LIBRARY_FILE_EXTENTION ) )
			{
				validModel = ModuleUtil.isValidLibrary( SessionHandleAdapter.getInstance( )
						.getSessionHandle( ),