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

WSDL for XmlSerializer: Fix invalid ArrayOfString schema #997

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

vidrenning
Copy link
Contributor

Removed the special if-condition for "string", which does not make sense, because it does not correspond to the actual XML that is generated by the XmlSerializer. Afterwards, the field _arrayToBuild is not needed anymore, so I have removed it.

The test CheckStringArrayNameWsdl() can only be performed for the DataContractSerializer now, because the complexType does not have an element inside it anymore.

Fixes #996

Removed the special if-condition for "string", which does not make sense,
because it does not correspond to the actual XML that is generated
by the XmlSerializer. Afterwards, the fields _arrayToBuild and
_buildArrayTypes are not needed anymore, so I have removed them.

The test CheckStringArrayNameWsdl() can only be performed for the
DataContractSerializer now, because the complexType does not have an
element inside it anymore.

Fixes DigDes#996
@andersjonsson andersjonsson merged commit 9a554d8 into DigDes:develop Feb 5, 2024
3 checks passed
@andersjonsson
Copy link
Collaborator

Thank you!

@vidrenning
Copy link
Contributor Author

Thank you for merging!

@vidrenning vidrenning deleted the liststring2 branch February 7, 2024 08:26
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.

XmlSerializer: Invalid namespace in WSDL for List<string> type
2 participants