Re: [tei-council] did we really mean multi-<text>?
Hrrmm. This does seem wrong to me but according to the ticket seems to be
precisely the change that was intended. i.e. that you can have any of the
model.resourceLike class of any number in any order. I can't picture us
looking at that proposed change to the content model and thinking something
else.
-James
On 16 August 2017 at 11:19, Peter Stadler
Yes, I tend to say that this (multiple text elements) feels like an error that slipped through. But I wonder why no-one has foreseen this consequence when implementing 561?! Or maybe it’s been on someones hidden agenda?
Cheers Peter
Am 16.08.2017 um 01:20 schrieb Syd Bauman
: The change instantiated as a result of TEI issue 561 means (if you summarily ignore all the other things in model.resourceLike) that TEI = ( teiHeader, \text+ )
That strikes me as a bad idea. I'll bet there is lots of code in the world that presumes that a <TEI> has at most one child <text>. (I know I have some programs that assume that.)
Furthermore, the prose of DS still says
A full TEI document combines metadata ... with the document itself, represented by either a text element or one or more other elements taken from the mode.resourceLike class, or the two in combination. ^ | + [sic]
which implies a single <text> element, until you realize that <text> is now a member of model.resourceLike, and then you are a bit confused. And the description of <TEI> says
contains ... a single TEI header, a single text, one or more members of the model.resourceLike class, or a combination of these.
which explicitly states one and only one <text>, but then allows one or more member of model.resourceLike.
I do not think we intended to permit <TEI> <teiHeader><!-- ... --></teiHeader> <text><!-- ... --></text> <text><!-- ... --></text> <text><!-- ... --></text> </TEI> when we did this, let alone <TEI> <teiHeader><!-- ... --></teiHeader> <facsimile><!-- ... --></facsimile> <text><!-- ... --></text> <facsimile><!-- ... --></facsimile> <text><!-- ... --></text> <facsimile><!-- ... --></facsimile> <text><!-- ... --></text> </TEI> -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
Two questions: 1) What was the context for doing this, and is it related to teiCorpus encoding of multiple texts in one document? 2) Does it have implications for the troubles we've been seeing with floatingText, another context in which we expect to see multiple text elements in one document? Elisa -- Elisa Beshero-Bondar, PhD Director, Center for the Digital Text Associate Professor of English University of Pittsburgh at Greensburg 150 Finoli Drive, Greensburg, PA 15601 USA E-mail: ebb8@pitt.edu | Development site: http://newtfire.org Typeset by hand on my iPad
On Aug 16, 2017, at 6:51 AM, James Cummings
wrote: Hrrmm. This does seem wrong to me but according to the ticket seems to be precisely the change that was intended. i.e. that you can have any of the model.resourceLike class of any number in any order. I can't picture us looking at that proposed change to the content model and thinking something else.
-James
On 16 August 2017 at 11:19, Peter Stadler
wrote: Yes, I tend to say that this (multiple text elements) feels like an error that slipped through. But I wonder why no-one has foreseen this consequence when implementing 561?! Or maybe it’s been on someones hidden agenda?
Cheers Peter
Am 16.08.2017 um 01:20 schrieb Syd Bauman
: The change instantiated as a result of TEI issue 561 means (if you summarily ignore all the other things in model.resourceLike) that TEI = ( teiHeader, \text+ )
That strikes me as a bad idea. I'll bet there is lots of code in the world that presumes that a <TEI> has at most one child <text>. (I know I have some programs that assume that.)
Furthermore, the prose of DS still says
A full TEI document combines metadata ... with the document itself, represented by either a text element or one or more other elements taken from the mode.resourceLike class, or the two in combination. ^ | + [sic]
which implies a single <text> element, until you realize that <text> is now a member of model.resourceLike, and then you are a bit confused. And the description of <TEI> says
contains ... a single TEI header, a single text, one or more members of the model.resourceLike class, or a combination of these.
which explicitly states one and only one <text>, but then allows one or more member of model.resourceLike.
I do not think we intended to permit <TEI> <teiHeader><!-- ... --></teiHeader> <text><!-- ... --></text> <text><!-- ... --></text> <text><!-- ... --></text> </TEI> when we did this, let alone <TEI> <teiHeader><!-- ... --></teiHeader> <facsimile><!-- ... --></facsimile> <text><!-- ... --></text> <facsimile><!-- ... --></facsimile> <text><!-- ... --></text> <facsimile><!-- ... --></facsimile> <text><!-- ... --></text> </TEI> -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
I think Lou's initial ticket and comments make it pretty clear that he
intended to have one ore more occurrences of model.resourceLike and that
<text> should be part of the model.
It may be worth asking him to confirm. I certainly welcome the spirit of
the ticket, but I am uncertain (though not unmovable) about multiple <text>
elements.
Re: Elisa's questions:
On Wed, Aug 16, 2017 at 8:16 AM, Elisa
Two questions: 1) What was the context for doing this, and is it related to teiCorpus encoding of multiple texts in one document?
This shouldn't be an issue because teiCorpus collects TEI documents, regardless of how they are internally defined.
2) Does it have implications for the troubles we've been seeing with floatingText, another context in which we expect to see multiple text elements in one document?
I can't recall these troubles so I can't answer this one. Raff
participants (3)
-
Elisa
-
James Cummings
-
Raffaele Viglianti