xproc / Vnext

Assembly point for all issues for a next version of XProc
1 stars 0 forks source link

p:option/@values should also accept references to static options #40

Open xatapult opened 12 months ago

xatapult commented 12 months ago

The p:option/@values attribute is defined as a list of atomic values.

There are situations where you would like to define the acceptable values as static options (to prevent magic values). So the @values attribute should probably also accept references to static options.

Or more in general: Any XPath expressions that can be computed at compile time (the same restriction as there is for the values of static options).