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

ProxyGen XSD - Split switch into its own conditional element #1916

Open
brine opened this issue Dec 31, 2019 · 0 comments
Open

ProxyGen XSD - Split switch into its own conditional element #1916

brine opened this issue Dec 31, 2019 · 0 comments

Comments

@brine
Copy link
Contributor

brine commented Dec 31, 2019

      <conditional>
        <switch >
          <case />
          <default />
        </switch>
      </conditional>
      <conditional>
        <if />
        <elseif  />
        <else />
      </conditional>

Currently, the switch conditional is nested inside the conditional element. Switch should be moved up as its own element alongside conditional (which exclusively becomes a container for if/else types).

This allows us to better restrict the amount of if and else elements included within conditional, as it won't have to expect to find a switch element anymore.

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