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

Remove xsi special treatment #23

Merged
merged 1 commit into from
Dec 21, 2022
Merged

Remove xsi special treatment #23

merged 1 commit into from
Dec 21, 2022

Conversation

nikku
Copy link
Owner

@nikku nikku commented Dec 20, 2022

Off-loads the xsi:type attribute and attribute value manipulation magic to downstream implementors. They have all the tools in place to perform the necessary changes.

  • Do not map values inside xsi:type attribute.
  • Do not force xsi prefix for XMLSchemaInstance

Off-loading to downstream implementors allows us to stay minimal (do one thing and do it right), but also give more power to downstream implementors to properly READ and WRITE XML.


This is a breaking change, to be shipped with a new major version.

* Do not map values inside `xsi:type` attribute.
* Do not force `xsi` prefix for `XMLSchemaInstance`
@nikku nikku merged commit 5926ae2 into master Dec 21, 2022
@nikku nikku deleted the no-xsi-type-magic branch December 21, 2022 10:31
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