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

Defaults in choice does not work properly #390

Closed
olofhagsand opened this issue Dec 21, 2022 · 0 comments
Closed

Defaults in choice does not work properly #390

olofhagsand opened this issue Dec 21, 2022 · 0 comments

Comments

@olofhagsand
Copy link
Member

Two things related to default values in choice does not work properly, as described in RFC7950 Sec 7.9.3

  1. Default case, the default if no child nodes from any of the choice's cases exist
  2. Default for child nodes under a case are only used if one of the nodes under that case is present
olofhagsand added a commit that referenced this issue Dec 22, 2022
C: Added new file clixon_xml_default.[ch] and moved all default handling there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant