[tei-council] @min and @max

Lou Burnard lou.burnard at retired.ox.ac.uk
Wed Jun 20 05:46:44 EDT 2012


On 20/06/12 10:40, Sebastian Rahtz wrote:
>
> On 20 Jun 2012, at 10:35, Lou Burnard wrote:
>
>> Maybe I am missing something, but this example seems Broken As Designed
>> to me. It seems to be changing<l>  so that it can appear some number of
>> times within<l>, presumably to test the @min and @max attributes. But
>> <l>  cannot appear within<l>  and this doesn't happen inside the test
>> file anyway.
>
>
> i think you are misunderstanding @min and @max, Lou. They say, for the current
> element, how it should be modelled in the relevant model class.
>
> "max	supplies the maximum number of times the element can occur in elements which use this model class in their content model"
>
> --

ok, i get it now. maybe we need to add some more attributes to memberOf 
(e.g. @opt and @seq with true and false values) to complete the picture?




More information about the tei-council mailing list