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

Fix bug ArrayOfString maxOccurs="1" bug #995

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

vidrenning
Copy link
Contributor

This is a regression of #960.
In commit 5026da3, the AddSchemaType() method was changed to contain a special case for string and byte[]. However this breaks the situation where the inner type of a list is string. In that case, maxOccurs must be set to "unbounded" for the string element. So this commit reverts that change and instead fixes the original issue at another place.

Fixes #988

This is a regression of DigDes#960.
In commit 5026da3, the AddSchemaType()
method was changed to contain a special case for string and byte[].
However this breaks the situation where the inner type of a list is
string. In that case, maxOccurs must be set to "unbounded" for the
string element. So this commit reverts that change and instead fixes the
original issue at another place.

Fixes DigDes#988
@andersjonsson
Copy link
Collaborator

Nice! Thank you!

@andersjonsson andersjonsson merged commit 6c672fa into DigDes:develop Jan 31, 2024
3 checks passed
@vidrenning
Copy link
Contributor Author

Thank you for merging the change!

@vidrenning vidrenning deleted the liststring branch January 31, 2024 13:32
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

Successfully merging this pull request may close these issues.

ArrayOfString maxOccurs 1
2 participants