[tei-council] <content> vs <mixedContent>
Lou Burnard
lou.burnard at retired.ox.ac.uk
Fri Oct 3 15:26:32 EDT 2014
On 03/10/14 20:15, Sebastian Rahtz wrote:
>
> do you realise that in order to remove the option of putting text inside <bibl>,
> people would have to write:
>
> <elementSpec ident="bibl" mode="change">
> <mixedContent mode="delete"/>
> <content>
> ... repeat all the content of mixedContent but
> adding in the zeroOrMore/alternate wrapper ...
> </content>
> </elementSpec>
Hmm, is that true? Surely you'd just write the new <content> model? I
don't think you can say @mode="delete" on elements which are not
members of att.combinable
The interesting question is how an ODD processor knows that since only
one of mixedContent or content is permissible here, whichever one your
spec supplies replaces the other.
More information about the tei-council
mailing list