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

Replace HashMap by IndexMap to preserve order with XML writer #12

Merged
merged 1 commit into from
Oct 19, 2018

Conversation

awakecoding
Copy link
Contributor

This isn't a big change, I just replaced the HashMap by IndexMap such that order is preserved with the XML writer. This change also affects the reader, but I don't think it really affects performance much. I know order shouldn't matter when parsing, but it isn't very practical to write XML documents where the order of elements can potentially change on every write.

@awakecoding
Copy link
Contributor Author

@rahulg any comments on this? If it looks good, can you merge it? Thanks!

@rahulg rahulg merged commit da349b4 into rahulg:master Oct 19, 2018
@rahulg
Copy link
Owner

rahulg commented Oct 19, 2018

Looks good, and this makes sense.

Thanks for submitting this!

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.

2 participants