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

[XML] Specific behavior for self closing tags #225

Open
Marvin-Brouwer opened this issue Nov 18, 2022 · 0 comments
Open

[XML] Specific behavior for self closing tags #225

Marvin-Brouwer opened this issue Nov 18, 2022 · 0 comments
Labels
enhancement New feature or request Hacktoberfest help wanted Extra attention is needed XML

Comments

@Marvin-Brouwer
Copy link
Owner

Is your feature request related to a problem? Please describe.
Currently an empty tag and a self closing tag behave the same.

Describe the solution you'd like
A self closing tag should relate to null and an empty tag should relate to empty by default.
However, this behavior should be configurable in the SerializerConfiguration.

Describe alternatives you've considered
-

Additional context
They used to both default to nullOrEmpty in some of the converters, this is not correct so it's changed.

@Marvin-Brouwer Marvin-Brouwer added enhancement New feature or request help wanted Extra attention is needed XML Hacktoberfest labels Nov 18, 2022
@Marvin-Brouwer Marvin-Brouwer added this to the XML spec finalization milestone Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest help wanted Extra attention is needed XML
Projects
None yet
Development

No branches or pull requests

1 participant