[tei-council] outstanding issues in pure odd

Lou Burnard lou.burnard at retired.ox.ac.uk
Fri Oct 3 06:17:32 EDT 2014


On 03/10/14 11:13, James Cummings wrote:
> On 03/10/14 11:07, Lou Burnard wrote:
>> On 03/10/14 11:01, James Cummings wrote:
>>> Does an alternate with allowText="true" and one child mean that this
>>> child is allowed to alternate with text?
>> yes. <alternate allowText="true"><elementRef key="foo"/></alternate>
>> and  <alternate ><textNode><elementRef key="foo"/></alternate>
>>
>> mean exactly the same thing. which is one reason for wondering whether
>> we need @allowText
> Just to make sure I'm clear, surely:
>
> <alternate allowText="true"><elementRef key="foo"/></alternate>
>
> really means:
>
> <alternate >
> <textNode/>
> <elementRef key="foo"/>
> <textNode/>
> </alternate>
>
>
> i.e. text before and after.

Ah, yes. another reason for disliking @allowText -- it implies 
repetition of its textnode children even when maxOccurs suggests otherwise.





More information about the tei-council mailing list