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

Fixes XML Map unmarhsalling to handle any key-value pair and xmlnamespaces #3652

Open
wants to merge 3 commits into
base: v4-development
Choose a base branch
from

Conversation

peterrsongg
Copy link
Contributor

Description

It is possible for a service to specify a different key and value name in the model via "locationName". This PR removes the hardcoded reference to "key" and "value" and instead we pass in the modeled key & value name from the model. This also fixes an issue with unmarshalling a a key / value pair that has a namespace attached to it.

Motivation and Context

Fixes 8 protocol tests.

Testing

DRY RUN 5b12205f-6ab4-4c59-81a0-f045ed954fca

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

@peterrsongg peterrsongg force-pushed the petesong/xml-name-protocol-tests branch from 99a3d39 to 6cad481 Compare February 13, 2025 17:58
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.

1 participant