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

Empty elements with extensions aren't serialized #274

Closed
wdebeau1 opened this Issue Dec 21, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@wdebeau1
Collaborator

wdebeau1 commented Dec 21, 2015

If an element has no value, but has an extension, it's not serialized (at least to xml, haven't tried json). It should be, or the technique of using a null-flavor extension to provide a mandatory element without a value isn't possible. See EmptyElementWithExtensionTest.java for an ignored test demonstrating the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment