parameters: (config)
return_statement: return (GetMissingOwnerErrors(metrics) or
            GetInvalidTypeErrors(type_names, metrics))
docstring: Check that rappor.xml passes some basic validation checks.
  
    Args:
      config: The parsed rappor.xml contents.
  
    Returns:
      A list of validation errors.
docstring_summary: Check that rappor.xml passes some basic validation checks.
docstring_tokens: Check that rappor . xml passes some basic validation checks .
function: def GetErrors(config):
    """Check that rappor.xml passes some basic validation checks.
  
    Args:
      config: The parsed rappor.xml contents.
  
    Returns:
      A list of validation errors.
    """
    metrics = config['metrics']['metrics']
    type_names = GetTypeNames(config)
    return (GetMissingOwnerErrors(metrics) or
            GetInvalidTypeErrors(type_names, metrics))
function_tokens: def GetErrors ( config ) : metrics = config [ 'metrics' ] [ 'metrics' ] type_names = GetTypeNames ( config ) return ( GetMissingOwnerErrors ( metrics ) or GetInvalidTypeErrors ( type_names , metrics ) )