#18916 [NEW]: xmlrpc_set_type() "not working"
| From: | hfuecks at pinkgoblin dot com | Date: | Thu, 15 Aug 2002 12:50:09 +0000 |
| Subject: | #18916 [NEW]: xmlrpc_set_type() "not working" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16899@lists.php.net to get a copy of this message | ||
From: hfuecks@pinkgoblin.com
Operating system: Windows NT 4.0
PHP version: 4.2.2
PHP Bug Type: XMLRPC-EPI related
Bug description: xmlrpc_set_type() "not working"
The function xmlrpc_set_type() returns true but fails to change type.
Using like;
<?php
$params = date("Ymd\TH:i:s", time());
xmlrpc_set_type ( $params, datetime );
$response = xmlrpc_encode ( $params );
?>
Produces;
<?xml version='1.0' encoding="utf-8" ?>
<params>
<param>
<value>
<string>20020815T14:45:29</string>
</value>
</param>
</params>
This should be;
<?xml version='1.0' encoding="utf-8" ?>
<params>
<param>
<value>
<dateTime.iso8601>20020815T14:45:29</dateTime.iso8601>
</value>
</param>
</params>
Same applies for type "base64".
Using xmlrpc-epi v. 0.50
Active Windows extensions are;
;Windows Extensions
;
extension=php_curl.dll
extension=php_gd.dll
extension=php_imap.dll
extension=php_pdf.dll
extension=php_xmlrpc.dll
--
Edit bug report at http://bugs.php.net/?id=18916&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18916&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18916&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18916&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18916&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18916&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18916&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18916&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18916&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18916&r=globals