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

Null values support added #1

Merged
merged 1 commit into from
Mar 13, 2012
Merged

Null values support added #1

merged 1 commit into from
Mar 13, 2012

Conversation

kix
Copy link

@kix kix commented Mar 13, 2012

Zend Framework's XML-RPC service gives XML that couldn't be parsed correctly:

<?xml version="1.0" encoding="UTF-8"?>
  <methodCall>
    <methodName>system.echoNull</methodName>
    <params>
      <param>
        <value>
          <nil/>
        </value>
      </param>
    </params>
  </methodCall>

My commit adds support for <nil/>'s enclosed in <value/>. Also this required a hack in the JS server. Currently node-xmlrpc's parser doesn't support nil too.

Added integration and parser tests for nil
Hacked JS server to return null
lstrojny added a commit that referenced this pull request Mar 13, 2012
Null values support added
@lstrojny lstrojny merged commit ce9dc95 into lstrojny:master Mar 13, 2012
@lstrojny
Copy link
Owner

While null is a non-standard extension I like the client to be as tolerant as possible. Thanks for your contribution!

lstrojny added a commit that referenced this pull request Aug 4, 2012
Null values support added
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