You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it would be nice if Scalaxb did this for us, as we'd like to use these XSDs without modification. This is a modified standard schema, originally that type had 2 choices, I guess the authors just deleted one of them 🤷♂️
The text was updated successfully, but these errors were encountered:
We have an XML with an
xs:choice
that has only one element in it, like this:Unfortunately Scalaxb is throwing a compilation error on the generated code:
To fix it we just have to delete the choice declaration:
But it would be nice if Scalaxb did this for us, as we'd like to use these XSDs without modification. This is a modified standard schema, originally that type had 2 choices, I guess the authors just deleted one of them 🤷♂️
The text was updated successfully, but these errors were encountered: