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

Adds .noEmptyElements option to OutputFormatting #264

Merged
merged 2 commits into from
May 2, 2023

Conversation

nighthawk
Copy link
Contributor

Opts out of empty element shorthand.


I'm using XMLCoder to generate XML from my Swift data models for use in another system that doesn't handle the empty-elements, so I've added this option to allow generating XML that it can ingest. Not sure if OutputFormatting is the right place for this.

Opts out of empty element shorthand.
@Joannis
Copy link
Member

Joannis commented May 2, 2023

I think that OutputFormatting is fine. Thanks for the contribution! I think I can merge this if the tests succeed

@Joannis
Copy link
Member

Joannis commented May 2, 2023

I know that the one test that failed in your previous commit is not your fault.

@Joannis Joannis merged commit 80b4a16 into CoreOffice:main May 2, 2023
13 of 15 checks passed
@Joannis
Copy link
Member

Joannis commented May 2, 2023

Tagged as 0.17.0

@nighthawk nighthawk deleted the no-empty-elements branch May 2, 2023 10:02
@nighthawk
Copy link
Contributor Author

Thank you, @Joannis!

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.

None yet

2 participants