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
Version 2.0.424 is converting both elements to include enumerations.
Version 2.0.434 is not converting TestRestrictionLength1 anymore (Version 2.0.425 not tested).
Was there a reason to change that behaviour?
The text was updated successfully, but these errors were encountered:
I probably won't be able to do this until the 29th as I'm not near a computer until then. If you would like to make a PR to resolve this, please go ahead. Thanks.
This wasn't as easy as I had hoped. The problem is unions where (at least) one of the constituents doesn't have an enum restriction. These can't be mapped to enums because they might for example represent a large range of numbers (one arm of the union w/o enum restriction) plus several specific numbers outside that range (a different arm of the union with enum restrictions).
When the following xsd is converted, the TestRestrictionLength1 element is converted to type string and no enumerations are created.
However, TestNoRestriction is converted with enumerations. Difference is the length restriction which is set to 1 for TestRestrictionLength1.
Tested on latest Version 2.0.594.
Version 2.0.424 is converting both elements to include enumerations.
Version 2.0.434 is not converting TestRestrictionLength1 anymore (Version 2.0.425 not tested).
Was there a reason to change that behaviour?
The text was updated successfully, but these errors were encountered: