Menu

#286 allow <valList> as child of macroSpec

closed
nobody
5
2011-05-04
2011-04-10
No

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

Discussion

  • Laurent Romary

    Laurent Romary - 2011-04-10

    Sounds reasonable to me. Anyone sees a problem?

     
  • Lou Burnard

    Lou Burnard - 2011-05-04

    valList is already there: removed stringVal at rv 8891

     
  • Lou Burnard

    Lou Burnard - 2011-05-04
    • status: open --> closed