Issue Type: Improvement Created: 2007-09-07T18:29:58.000+0000 Last Updated: 2009-01-15T08:20:09.000+0000 Status: Resolved Fix version(s): - 1.5.1 (25/Mar/08)
Reporter: Darien Hager (hagerd) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_XmlRpc_Client
Related issues: Attachments: - Zend_XmlRpc_Value_Nil.diff
I ran into this when trying to interoperate with a python XMLRPC server.
There is an extension to the xml spec which allows a element in place of other values: http://ontosys.com/xml-rpc/extensions.php
I have already implemented this building off of handling for booleans, but I would like feedback as to whether I should submit the changes back into the main codebase.
Are there any cases where someone is sending or recieving PHP NULL values and is counting on them to be translated differently, e.g. as FALSE?
Posted by Darby Felton (darby) on 2007-09-20T15:23:08.000+0000
Assigning to [~matthew] to initiate issue review.
Posted by Matthew Weier O'Phinney (matthew) on 2007-11-16T15:09:41.000+0000
Tentatively scheduling for 1.1.0
Posted by Wil Sinclair (wil) on 2007-12-14T18:42:02.000+0000
What is the status of this issue? Is it approved for inclusion in 1.5?
Posted by Matthew Weier O'Phinney (matthew) on 2008-03-06T10:13:26.000+0000
Scheduling for first mini-release following 1.5.0 GA release.
Posted by Sergej Kurakin (realzaza) on 2008-03-08T15:20:28.000+0000
Because in next week I will need Nil in XML-RPC of Zend Framework, I've implemented this part by my self on this weekend. In patch you will find Zend_XmlRpc_Value_Nil, changes for Zend_XmlRpc_Value and Zend_XmlRpc_Server. Moreover, some tests for Nil added.
Posted by Sergej Kurakin (realzaza) on 2008-03-08T15:25:10.000+0000
Because I didn't found the way, how to write correct tests for this (passing NIL from client to server and getting it back), I'm sharing my simple client and server that I've used for developing and tests.
Posted by Matthew Weier O'Phinney (matthew) on 2008-03-21T11:52:54.000+0000
NIL support added to trunk and release 1.5 branch.
Posted by Lode Blomme (lode) on 2009-01-15T08:20:07.000+0000
Is there a way to disable this funtionality, and use the old behaviour (empty string)? Since it is an extension to XML-RPC, it isn't implemented by all XML-RPC clients (CodeIgniter for example).
Have you found an issue?
See the Overview section for more details.