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

improve the XML generation: prolog optional, using [] instead of :empty #57

Merged
merged 3 commits into from
Mar 19, 2020

Conversation

manuel-rubio
Copy link
Contributor

I just needed to use it without the prolog (<?xml ... ?>) generation and I realised that instead of :empty we could use [] (which means empty list indeed). I want to use it in this way because of optimization in generation of the XML and avoid to use prolog to employ it in an XMPP dialogue.

Copy link
Owner

@qcam qcam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. I have only 2 comments then I think we're good to go.

lib/saxy/encoder.ex Outdated Show resolved Hide resolved
lib/saxy/encoder.ex Show resolved Hide resolved
@manuel-rubio
Copy link
Contributor Author

@qcam do you know why 1.8 is failing? I was creating the same docker image and running exactly the same steps and it's working for me :-/

@manuel-rubio
Copy link
Contributor Author

now worked! :-) ... @qcam I checked you have no .travis-ci.yml file, so it's not going to trigger there, I guess you should remove the integration.

@qcam
Copy link
Owner

qcam commented Mar 19, 2020

Thanks, I will remove the Travis config file in another commit.

@qcam qcam merged commit 830948a into qcam:master Mar 19, 2020
@qcam
Copy link
Owner

qcam commented Mar 19, 2020

@manuel-rubio Thank you ❤️!

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