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/src/org/eclipse/birt/report/designer/ui/editors/MultiPageReportEditor.java
{
				if ( !error
						|| "org.eclipse.birt.report.designer.ui.editors.design.xmlsource".equals( pagedef.id ) )
				{
					addPage( pagedef.createPage( ), pagedef.displayName );
				}
			}
			catch ( Exception e )
			{
				error = true;
			}
		}
		
		
		
		
	}
	/**
	 * Add a IReportEditorPage to multipage editor.
	 * 
	 * @param page
	 * @param title
	 * @return
	 * @throws PartInitException
	 */
	public int addPage( IReportEditorPage page, String title )
			throws PartInitException
	{
		int index = super.addPage( page );
		if ( title != null )