#456 allow a teiCorpus to have facsimile and sourceDoc children

AMBER
closed
None
1(low)
2013-06-17
2013-05-23
No

<teiCorpus> only allows teiHeader and TEI children. This stops it having a sourceDoc or facsimile which covers the whole corpus. I suggest that this is an oversight, and its content model should be be something like "header, model.resourceLike*, TEI+" instead. I cannot see any side effect, and a thread on TEI has several suggestions for practical applications.

Discussion

  • Kevin Hawkins

    Kevin Hawkins - 2013-06-03

    For the record, the thread began on 23 May: http://listserv.brown.edu/archives/cgi-bin/wa?A2=TEI-L;d8a7f30e.1305 .

    Please specify exactly the content model you propose. I'm looking at the current content model of <TEI> and <teiCorpus> and see a few different ways we might go about implementing "something like" what you specify.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-06-03

    <TEI> has

      <ref name="teiHeader"/>
      <choice>
        <group>
          <oneOrMore>
            <ref name="model.resourceLike"/>
          </oneOrMore>
          <optional>
            <ref name="text"/>
          </optional>
        </group>
        <ref name="text"/>
      </choice>
    

    so I propose

      <ref name="teiHeader"/>
      <choice>
        <group>
          <oneOrMore>
            <ref name="model.resourceLike"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="TEI"/>
              <ref name="teiCorpus"/>
            </choice>
          </zeroOrMore>
        </group>
        <oneOrMore>
          <choice>
            <ref name="TEI"/>
            <ref name="teiCorpus"/>
          </choice>
        </oneOrMore>
      </choice>
    
     
    Last edit: Kevin Hawkins 2013-06-03
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-06-03

    in words
    - you must have a header
    - you must have either some resourceLike elements (maybe with some TEI/teiCorpus after) or you must have some TEI/teiCorpus elements.

    the idea being that you cant just have a header, but you can have just some resourceLike objects.

     
  • Kevin Hawkins

    Kevin Hawkins - 2013-06-03

    Good. Not quite the "something like" in the original ticket, but it makes sense. I support.

     
  • James Cummings

    James Cummings - 2013-06-04

    This sounds entirely sensible to me.

     
  • Martin Holmes

    Martin Holmes - 2013-06-04

    +1 from me.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-06-17

    since there are no objections, I have duly made the changer.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-06-17
    • status: open --> closed
    • assigned_to: Sebastian Rahtz
    • Priority: 5 --> 1(low)
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks