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

Need to be 'less compliant' with empty tags #137

Closed
softwaregravy opened this issue Jan 22, 2011 · 2 comments
Closed

Need to be 'less compliant' with empty tags #137

softwaregravy opened this issue Jan 22, 2011 · 2 comments

Comments

@softwaregravy
Copy link

Basically, I need to send

<request></request>

and not

<request xsi:nil="true"/>
@rubiii
Copy link
Contributor

rubiii commented Jan 22, 2011

Savon uses Gyoku to translate Hashes to XML. "Basically", an empty String instead of nil should do the job:

Gyoku.xml :request => ""  # => "<request></request>"

@softwaregravy
Copy link
Author

yes, thanks. I guess I'm now just blocked on which prevents me from using this.

https://github.com/rubiii/savon/issues/#issue/136

Thanks very much for the quick response.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants