[tei-council] allowText contd
Sebastian Rahtz
sebastian.rahtz at it.ox.ac.uk
Sun Jun 8 16:06:53 EDT 2014
On 8 Jun 2014, at 13:53, Lou Burnard <lou.burnard at retired.ox.ac.uk> wrote:
> Now suppose however that you want to allow text children as well. You
> might think that
>
> <content allowText="true">
> <classRef key="model.foo" maxOccurs="unlimited"/>
> </content>
>
> would do it. But no. In fact this generates exactly the same RNG as the
> previous one. What you need is:
>
> <content allowText="true">
> <classRef key="model.foo" >
> </content>
>
> Which does produce the correct content model
>
> (text | model.foo)*
i think you’re just finding a bug in the processing, right?
--
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