raffazizzi / TEI-TEST

This repo is for TESTING purposes only. Changes pushed here will be lost
0 stars 0 forks source link

allow <valList> as child of macroSpec #104

Closed raffazizzi closed 9 years ago

raffazizzi commented 13 years ago

If you want a make a macro which defines a set of fixed choices, the TEI <valList> is a more natural tool than plain RNG, allowing as it does for the documentation desc/gloss elements. However, <macroSpec> does not permit use of <valList>.

I propose that the content model of macroSpec be changed to .. <rng:zeroOrMore> <rng:choice> <rng:ref name="stringVal"/> <rng:ref name="content"/> <rng:ref name="valList"/> </rng:choice> </rng:zeroOrMore>

... to allow macro content models to be closer to element content models.

data.sex is an example of a macro which would benefit

Original comment by: sebastianrahtz

raffazizzi commented 13 years ago

Sounds reasonable to me. Anyone sees a problem?

Original comment by: laurentromary

raffazizzi commented 13 years ago

valList is already there: removed stringVal at rv 8891

Original comment by: lb42

raffazizzi commented 13 years ago

Original comment by: lb42