<!--
Copyright TEI Consortium. 
Dual-licensed under CC-by and BSD2 licences 
See the file COPYING.txt for details
-->
<?xml-model href="http://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<elementSpec xmlns="http://www.tei-c.org/ns/1.0"
             ident="standOff" mode="add" module="linking"
             xmlns:sch="http://purl.oclc.org/dsdl/schematron">
  <desc xml:lang="en" versionDate="2018-10-31">Functions as a
  container element for linked data, contextual information, and
  stand-off annotations embedded in a TEI document.</desc>
  <classes>
    <memberOf key="model.resource"/>
    <memberOf key="att.global"/>
    <memberOf key="att.typed"/>
    <memberOf key="att.declaring"/>
  </classes>
  <content>
    <classRef key="model.standOffPart" minOccurs="1" maxOccurs="unbounded"/>
  </content>
  <constraintSpec ident="nested_standOff_should_be_typed" scheme="schematron" mode="add">
    <constraint>
      <sch:assert test="@type or not(ancestor::tei:standOff)">This
      <sch:name/> element must have a @type attribute, since it is
      nested inside a <sch:name/></sch:assert>
    </constraint>
  </constraintSpec>
  <exemplum xml:lang="en" versionDate="2019-12-25">
    <p>This example shows an encoding of morphosyntactic features similar to the encoding
    system used by <ref target="#ISO24611">ISO 24611 (MAF)</ref>.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples"
	   xml:lang="en" source="#NONE" valid="feasible">
      <TEI>
        <teiHeader> <!-- ... --> </teiHeader>
        <text>
          <body>
            <!-- ... -->
            <p>
              <w xml:id="w51">I</w>
              <w xml:id="w52">wanna</w>
              <w xml:id="w53">put</w>
              <w xml:id="w54">up</w>
              <w xml:id="w55">new</w>
              <w xml:id="w56">wallpaper</w>
              <pc>.</pc>
            </p>
            <!-- ... -->
          </body>
        </text>
        <standOff type="morphosyntax">
          <spanGrp type="wordForm">
            <span target="#w51" ana="#fs01"/>
            <span target="#w52" ana="#fs02"/>
            <span target="#w52" ana="#fs03"/>
            <span target="#w53 #w54" ana="#fs04"/>
            <span target="#w55" ana="#fs05"/>
            <span target="#w56" ana="#fs06"/>
          </spanGrp>
          <fs xml:id="fs01">
            <f name="lemma"> <string>I</string> </f>
            <f name="pos"> <symbol value="PP"/> </f>
          </fs>
          <fs xml:id="fs02">
            <f name="lemma"> <string>want</string> </f>
            <f name="pos"> <symbol value="VBP"/> </f>
          </fs>
          <fs xml:id="fs03">
            <f name="lemma"> <string>to</string> </f>
            <f name="pos"> <symbol value="TO"/> </f>
          </fs>
          <fs xml:id="fs04">
            <f name="lemma"> <string>put up</string> </f>
            <f name="pos"> <symbol value="VB"/> </f>
          </fs>
          <fs xml:id="fs05">
            <f name="lemma"> <string>new</string> </f>
            <f name="pos"> <symbol value="JJ"/> </f>
          </fs>
          <fs xml:id="fs06">
            <f name="lemma"> <string>wallpaper</string> </f>
            <f name="pos"> <symbol value="NN"/> </f>
          </fs>
        </standOff>
      </TEI>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en" versionDate="2019-12-28">
    <p>This example shows an encoding of contextual
    information which is referred to from the main text.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples"
	   xml:lang="en" source="#MLK01" valid="feasible">
      <TEI>
	<teiHeader> <!-- ... --> </teiHeader>
	<standOff>
	  <listPlace>
	    <place xml:id="LATL">
	      <placeName>Atlanta</placeName>
	      <location>
		<region key="US-GA">Georgia</region>
		<country key="USA">United States of America</country>
		<geo>33.755 -84.39</geo>
	      </location>
	      <population when="1963" type="interpolatedCensus" quantity="489359" source="https://www.biggestuscities.com/city/atlanta-georgia"/>
	    </place>
	    <place xml:id="LBHM">
	      <placeName>Birmingham</placeName>
	      <location>
		<region key="US-AL">Alabama</region>
		<country key="USA">United States of America</country>
		<geo>33.653333 -86.808889</geo>
	      </location>
	      <population when="1963" type="interpolatedCensus" quantity="332891" source="https://www.biggestuscities.com/city/birmingham-alabama"/>
	    </place>
	  </listPlace>
	</standOff>
	<text>
	  <body>
	    <!-- ... -->
	    <p>Moreover, I am <choice><sic>congnizant</sic><corr>cognizant</corr></choice> of the interrelatedness of all communities and
	    <lb/>states.  I cannot sit idly by in <placeName ref="#LATL">Atlanta</placeName> and not be concerned about what happens
	    <lb/>in <placeName ref="#LBHM">Birmingham</placeName>.  <seg xml:id="FQ17">Injustice anywhere is a threat to justice everywhere.</seg>  We
	    <lb/>are caught in an inescapable network of mutuality, tied in a single garment
	    <lb/>of destiny.  Whatever affects one directly affects all indirectly. Never
	    <lb/>again can we afford to live with the narrow, provincial <soCalled rendition="#Rqms">outside agitator</soCalled>
	    <lb/>idea.  Anyone who lives inside the United States can never be considered
	    <lb/>an outsider anywhere in this country.</p>
	    <!-- ... -->
	  </body>
	</text>
      </TEI>
    </egXML>
  </exemplum>
  <listRef>
    <ptr target="#SASOstdf"/>
  </listRef>
</elementSpec>
