namespace rng = "http://relaxng.org/ns/structure/1.0"

# Schema generated 2008-11-01T14:14:38Z
# Edition: 1.2.0. Last updated on October 31st 2008.
# Copyright 2008 TEI Consortium.
# This is free software; you can redistribute it and/or
#	    modify it under the terms of the GNU General Public
#	    License as published by the Free Software Foundation;
#	    either version 2 of the License, or (at your option) any
#	    later version.
# This material is distributed in the hope that it will be
#	    useful, but without any warranty; without even the implied
#	    warranty of merchantability or 
#	    fitness for a particular
#	    purpose. See the GNU General Public License for more
#	    details.
# A copy of the GNU General Public
#	    License is stored on the TEI web site
#	    along with this file; you can also contact the Free
#	    Software Foundation, Inc., 59 Temple Place, Suite 330,
#	    Boston, MA 02111-1307, USA, for a copy.
# For information about the TEI, including contact
#		details, consult the TEI web
#	      site at http://www.tei-c.org/. 
#		Certainty and uncertainty

# Definitions from module certainty

# Set global predeclared macros

# Set predeclared macros

# 0. predeclared macros

# 1. classes

# 2. elements

certainty =
  ## indicates the degree of certainty or uncertainty associated
  ##   with some aspect of the text markup. 
  element certainty { certainty.content, certainty.localattributes }
certainty.content = model.glossLike*
certainty.localattributes =
  att.global.attributes,
  ## points at the elements whose markup is
  ##       uncertain.
  attribute target {
    list { data.pointer+ }
  },
  ## indicates the precise location of the uncertainty in the
  ##	markup: applicability of the element, precise position of the
  ##	start- or end-tag, value of a specific attribute,
  ##	etc.
  ## Suggested values include: 1] gi (element name); 2] startLoc (start location); 3] endLoc (end location); 4] location; 5] attrName (attribute name); 6] transcribedContent; 7] suppliedContent
  attribute locus {
    ## (element name) uncertain whether the element used actually applies
    ##	    to the passage.
    "gi" | ## (start location) start-tag may not be correctly located.
      "startLoc" | ## (end location) end-tag may not be correctly located.
      "endLoc" | ## both the start-tag and the end-tag may not be
      ##	    correctly located.
      "location" | ## (attribute name) the value given for the attribute name is
      ##	    uncertain.
      "attrName" | ## the content of the element may not be a correct
      ##	    transcription of the source text.
      "transcribedContent" | ## the content of the element may not have been
      ##	    correctly supplied by the reader, e.g. as in the cases of
      ##	    corr and abbrev elements.
      "suppliedContent"
    | xsd:Name
  },
  ## provides an alternative value for the aspect of the markup in
  ## question—an alternative generic identifier, transcription,
  ## or attribute value, or the identifier of an anchor element (to
  ## indicate an alternative starting or ending location).  If an
  ## assertedValue is given, the confidence level specified by
  ## degree applies to the alternative markup specified by
  ## assertedValue; if none is given, it applies to the markup
  ## in the text.
  attribute assertedValue { data.pointer | data.name | data.word }?,
  ## indicates conditions assumed in the assignment of a degree
  ##       of confidence.
  attribute given {
    list { data.pointer+ }
  }?,
  ## indicates the degree of confidence assigned to the aspect
  ## of the markup named by the locus attribute.
  attribute degree { data.probability }?,
  empty

respons =
  ## (responsibility) identifies the individual(s) responsible for some aspect of the
  ## markup of particular element(s).
  element respons { respons.content, respons.localattributes }
respons.content = model.glossLike*
respons.localattributes =
  att.global.attributes,
  ## gives the identifier(s) of the element(s) for which some
  ## aspect of the responsibility is being
  ## assigned.
  attribute target {
    list { data.pointer+ }
  },
  ## indicates the specific aspect of the markup for which
  ## responsibility is being assigned.
  ## Suggested values include: 1] gi (element name); 2] location; 3] startLoc (start location); 4] endLoc (end location); 5] attrName (attribute name); 6] transcribedContent; 7] suppliedContent
  attribute locus {
    list {
      (
       ## (element name) responsibility for the claim that the element is of the
       ## type indicated by the markup
       "gi" | ## responsibility for the claim that the element
         ## begins and ends where indicated
         "location" | ## (start location) responsibility for the claim that the element begins
         ##           where indicated
         "startLoc" | ## (end location) responsibility for the claim that the element ends
         ##           where indicated
         "endLoc" | ## (attribute name) responsibility for the claim that the
         ## name attribute has the value given in the markup
         "attrName" | ## responsibility for the transcription of
         ## the element content
         "transcribedContent" | ## responsibility for the contents supplied by
         ## the encoder (corrections, expansions of abbreviations, etc.)
         "suppliedContent"
       | xsd:Name)+
    }
  },
  ## (responsible party) identifies the individual or agency responsible for the indicated
  ## aspect of the electronic text.
  attribute resp { data.pointer },
  empty
# 3. macros
