Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xatapult opened this issue Nov 22, 2023 · 0 comments
Open

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

xatapult opened this issue Nov 22, 2023 · 0 comments

Comments

@xatapult
Copy link
Contributor

xatapult commented Nov 22, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant