<?xml version="1.0"?>
<!DOCTYPE teiCorpus SYSTEM "../DTD/tei.dtd" [
<!ENTITY % TEI.core "INCLUDE">
<!ENTITY % TEI.header "INCLUDE">
<!ENTITY % TEI.textstructure "INCLUDE">
<!ENTITY % TEI.namesdates "INCLUDE">
<!ENTITY % TEI.corpus "INCLUDE">
<!ENTITY % TEI.linking "INCLUDE">
<!ENTITY % TEI.XML 'INCLUDE'>
 ]> 
<teiCorpus xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>A corpus test</title>
      </titleStmt>
      <publicationStmt>
        <p/>
      </publicationStmt>
      <sourceDesc>
        <p/>
      </sourceDesc>
    </fileDesc>
  </teiHeader>
  <TEI>
    <teiHeader>
      <fileDesc>
        <titleStmt>
          <title>A corpus/group test</title>
        </titleStmt>
        <publicationStmt>
          <p/>
        </publicationStmt>
        <sourceDesc>
          <p/>
        </sourceDesc>
      </fileDesc>
      <profileDesc>
        <particDesc>
          <listPerson>
            <person>
              <birth when="2002-02-28">A valid date</birth>
            </person>
          </listPerson>
        </particDesc>
      </profileDesc>
    </teiHeader>
    <text>
      <front>
        <docTitle>
          <titlePart> The Adventures of Sherlock Holmes </titlePart>
        </docTitle>
        <docImprint>First published in <title>The Strand</title> between July 1891 and
          December 1892</docImprint>
      </front>
      <group>
        <text>
          <front>
            <head rend="italic">Adventures of Sherlock Holmes</head>
            <docTitle>
              <titlePart>Adventure I. &#x2014;</titlePart>
              <titlePart>A Scandal in Bohemia</titlePart>
            </docTitle>
            <byline>By A. Conan Doyle.</byline>
          </front>
          <body>
            <p>To Sherlock Holmes she is always <emph>the</emph> woman. ... </p>
          </body>
        </text>
        <text>
          <front>
            <head rend="italic">Adventures of Sherlock Holmes</head>
            <docTitle>
              <titlePart>Adventure II. &#x2014;</titlePart>
              <titlePart>The Red-Headed League</titlePart>
            </docTitle>
            <byline>By A. Conan Doyle.</byline>
          </front>
          <body>
            <p> </p>
            <closer>End of the Red Headed League</closer>
          </body>
        </text>
        <text>
          <front>
            <head rend="italic">Adventures of Sherlock Holmes</head>
            <docTitle>
              <titlePart>Adventure XII. &#x2014;</titlePart>
              <titlePart>The Adventure of the Copper Beeches</titlePart>
            </docTitle>
            <byline>By A. Conan Doyle.</byline>
          </front>
          <body>
            <p><q>&#x201C;To the man who loves art for its own sake,&amp;cdq;</q>
              remarked Sherlock Holmes ... ... she is now the head of a private school at
              Walsall, where I believe that she has met with considerable success.</p>
          </body>
        </text>
      </group>
    </text>
  </TEI>
  <TEI>
    <teiHeader>
      <fileDesc>
        <titleStmt>
          <title>A corpus test</title>
        </titleStmt>
        <publicationStmt>
          <p/>
        </publicationStmt>
        <sourceDesc>
          <p/>
        </sourceDesc>
      </fileDesc>
      <profileDesc>
        <particDesc>
          <listPerson>
            <person xml:id="Fred">
              <birth when="2002-02-28">A validate</birth>
            </person>
          </listPerson>
        </particDesc>
      </profileDesc>
    </teiHeader>
    <text>
      <group>
        <text>
          <body>
            <p>this is the pcdata that sat in the p that sat in the body that sat in the
              text that sat in the group that sat in the body that sat in the text that
              sat in the TEI that sat in the teiCorpus that <seg xml:id="there">Lou</seg> built</p>
          </body>
        </text>
        <text>
          <body>
            <p>this is another text inside the same group</p>
          </body>
        </text>
      </group>
    </text>
  </TEI>
  <TEI>
    <teiHeader>
      <fileDesc>
        <titleStmt>
          <title>A corpus test</title>
        </titleStmt>
        <publicationStmt>
          <p/>
        </publicationStmt>
        <sourceDesc>
          <p/>
        </sourceDesc>
      </fileDesc>
      <profileDesc>
        <particDesc>
          <listPerson>
            <person>
              <birth>It happens</birth>
            </person>
            <person>
              <birth when="2004-06-01">Another OK date</birth>
            </person>
            <person>
              <birth when="2004-06-01">Another OK date</birth>
            </person>
          </listPerson>
        </particDesc>
      </profileDesc>
    </teiHeader>
    <text>
      <group>
        <text>
          <body>
            <p>this is the pcdata that sat in the p that sat in the
            body that sat in the text that sat in the group that sat
            in the body that sat in the text that sat in the TEI that
            sat in the teiCorpus that <ref corresp="#there" type="person">Lou</ref>
            built</p>
          </body>
        </text>
        <text>
          <body>
            <p>this is another text</p>
          </body>
          <back>
            <div1>
              <ab>this one has some back matter</ab>
            <postscript>
              <label>P.S.</label>
              <p>la-dee da</p>
            </postscript>
            </div1>
          </back>
        </text>
      </group>
    </text>
  </TEI>
</teiCorpus>
