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

Document how to deserialize and serialize XML with namespaces using serde #803

Open
eirnym opened this issue Sep 23, 2024 · 2 comments
Open
Labels
documentation Issues about improvements or bugs in documentation namespaces Issues related to namespaces support serde Issues related to mapping from Rust types to XML

Comments

@eirnym
Copy link

eirnym commented Sep 23, 2024

There's a few examples here and there, I'd like to gather them to documentation. There's 2 cases with using namespaces used differently: When all namespaces are defined as attributes of a root element of the document, and namespaces defined inside child element.

Maybe it would be obvious to define them, but it would be better, when these examples would be documented properly, including xsi:... attributes

@Mingun Mingun added serde Issues related to mapping from Rust types to XML namespaces Issues related to namespaces support documentation Issues about improvements or bugs in documentation labels Sep 24, 2024
@Mingun
Copy link
Collaborator

Mingun commented Sep 24, 2024

Namespaces with serde does not officially supported yet, the progress is tracked in #218. Some limited support exists currently, but you are limited to use concrete prefixes, which definitely will not work in all situations.

I'm open to contributions to resolve #218 and on suggestions to better document existing behavior.

@eirnym
Copy link
Author

eirnym commented Sep 24, 2024

Even documentation of the current state will be enough for now. And I really mean for both Serialization AND Deserialization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues about improvements or bugs in documentation namespaces Issues related to namespaces support serde Issues related to mapping from Rust types to XML
Projects
None yet
Development

No branches or pull requests

2 participants