Bug 142432 MasterPage from library can't be restored to modify
Details: MasterPage from library can't be restored to modify Step: 1.New a library named lib1, and insert a masterpage named lib-mp. 2.Publish the library into resource folder. 3.New a report design and use lib1. 4.Drop the lib-mp from library explorer into outline of report design. 5.Double click lib-mp, and switch to Property editro tab. 6.Click restore. Actual result: Pop up an error message and said that the master page cannot specify size the page type is not custom.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
return ErrorDetail.getSemanticErrors( errorDetailList,
				DesignFileException.DESIGN_EXCEPTION_SEMANTIC_ERROR );
	}
	/**
	 * Returns the root container of this element. It must be Library or Report
	 * Design.
	 * 
	 * @return the handle of the root container.
	 */
	public ModuleHandle getRoot( )
	{
		Module module = getElement( ).getRoot( );
		if ( module != null )
			return (ModuleHandle) module.getHandle( module );
		return null;
	}
	/**
	 * Returns return the path corresponding to the current position of the
	 * element in the tree.
	 * 
	 * This path string helps user locate this element in user interface. It
	 * follows XPath syntax. Each node name indicates the name of the element
	 * definition and the 1-based element position in the slot. The position
	 * information is only available when the element is in the multicardinality
	 * slot.
	 * 
	 * <p>
	 * For example,
	 * <ul>
	 * <li>/report/Body[1]/Label[3] - The third label element in body slot