else {    if ( !StringUtil.isBlank( height ) || !StringUtil.isBlank( width ) ) { list .add( new SemanticError( toValidate, SemanticError.DESIGN_EXCEPTION_CANNOT_SPECIFY_PAGE_SIZE ) ); } }
	private List doValidate( Module module, MasterPage toValidate )	{		List list = new ArrayList( );			String type = toValidate.getStringProperty( module, MasterPage.TYPE_PROP );		String height = toValidate.getStringProperty( module,				MasterPage.HEIGHT_PROP );		String width = toValidate				.getStringProperty( module, MasterPage.WIDTH_PROP );		// if type is CUSTOM type, height and width must be specified.		if ( DesignChoiceConstants.PAGE_SIZE_CUSTOM.equalsIgnoreCase( type ) )		{			// if type is CUSTOM type, height and width must be specified.			if ( StringUtil.isBlank( height ) || StringUtil.isBlank( width ) )			{				list.add( new SemanticError( toValidate,						SemanticError.DESIGN_EXCEPTION_MISSING_PAGE_SIZE ) );			}		}		else		{			// if type is not CUSTOM type, height and width can not be			// specified.			if ( !StringUtil.isBlank( height ) || !StringUtil.isBlank( width ) )			{				list						.add( new SemanticError(								toValidate,								SemanticError.DESIGN_EXCEPTION_CANNOT_SPECIFY_PAGE_SIZE ) );			}		}		return list;	}