Re: What's in P5 (part 2)
Stuart Brown <sbrown <at> EXTENZA.COM>
2003-12-02 15:27:11 GMT
I ranted a while back[1] on why I thought that PCDATA-only corrective
mechanisms should co-exist with the element-selection oriented version now
proposed as <choose>. As I see it, we could offer corrective/alignment
mechanisms at three levels: the full text critical, the multiple-option
<choose> variant, and (PCDATA-only) simple character corrections. The first
of these is a different issue; for the others, here's my suggestion:
We keep all the existing tag names, such as <corr>, <reg>, etc (as would
appear to be shown in Lous' example), but we use the Power of Schema
Languages to define them differently depending on context. When they do not
occur as children of a <choose> element, they are permitted the <at> reg, <at> sic,
etc. attributes, but (and this is important) the actual element content is
limited to PCDATA only. Within <choose> they may hold the usual mixed
content, but the <at> sic, etc attributes are prohibited.
By restricting the content of 'naked' <corr> et al to PCDATA, we are now
clearly showing (and will reflect with equally forceful language in the
guidelines) that outside of a <choose> element these can only be used for
character corrections. If I desire either a multiplicity of options, or to
give elements within the options, then I must wrap it up it in <choose>.
This retains the minimal-coding simple character correction version which I
still staunchly defend, allows the options version, and does not introduce a
raft of new element names. I think this is good.
On a slightly variant topic, can I quote a SIG list where it was stated (by
his Louness no less):
"One of the Good Decisions made in the early days of the TEI was that it was
not going to mess with software development: you cannot at once claim to be
developing a software-independent encoding scheme and also a specific piece
(Continue reading)