[tei-council] @min and @max
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Wed Jun 20 03:31:40 EDT 2012
the truth is that this is only part of the picture. the content model of <lg> has also to be changed to ask
for model.lLike_sequence in order for the @min and @max test to have an effect. If you look at the schema,
it comes out with
model.lLike = l | l | l? | l? | l? | l?
model.lLike_alternation = l | l | l? | l? | l? | l?
model.lLike_sequence = l, l, l?, l?, l?, l?
model.lLike_sequenceOptional = (l, l, l?, l?, l?, l?)?
model.lLike_sequenceOptionalRepeatable = (l, l, l?, l?, l?, l?)*
model.lLike_sequenceRepeatable = (l, l, l?, l?, l?, l?)+
where you can see why the standard model.lLike does not do the job.
so now you should watch P5 build fail :-}
--
Sebastian Rahtz
Head of Information and Support Group
Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
More information about the tei-council
mailing list