[tei-council] <content> vs <mixedContent>
Sebastian Rahtz
sebastian.rahtz at it.ox.ac.uk
Fri Oct 3 12:03:56 EDT 2014
On 3 Oct 2014, at 16:36, Lou Burnard <lou.burnard at retired.ox.ac.uk> wrote:
>
> We invented this element precisely because it has a different content model from <content> -- mixed content is always exactly the same as an alternation of a bunch of elements with text. So it would be nonsensical to permit it to contain sequence, and redundant to permit alternate.
Clearly I have been in some parallel universe for the last 6 months :-}
if mixedContent is solely, in your definition
<content>
<rng:oneOrMore>
<rng:ref name="elementRef"/>
</rng:oneOrMore>
</content>
then it is incomplete, as it must contain classRef too. But leaving that aside,
this is shorthand for:
<alternate maxOccurs=“unbounded” minOccurs=“0”>
<textNode/>
… refs…
</alternate>
and, in the cold light of dawn etc, it seems to me an over complication
Honestly, I don’t any longer think its worth the trouble.
--
Sebastian Rahtz
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
Não sou nada.
Nunca serei nada.
Não posso querer ser nada.
À parte isso, tenho em mim todos os sonhos do mundo.
More information about the tei-council
mailing list