Closed (works as designed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 May 2008 at 16:03 UTC
Updated:
16 Jun 2009 at 13:58 UTC
Is there a rationale behind the fact that _xmlrpc returns only the first parameter when it receive a non-faulty response?
I was trying to query bugzilla.mozilla.org via xmlrpc to set up a simple input filter and all I got was the first, useless parameter, while all the useful info were inside the second, sadly ignored one.
I checked with the XML-RPC specs and it doesn't look it's illegal to have more than one
(while only one
is allowed).
Comments
Comment #1
Pinolo@www.drupalitalia.org commentedRephrasing the last sentence in the description because input filters ate 2 XML tags:
I checked with the XML-RPC specs and it doesn't look it's illegal to have more than one «param» (while only one «params» is allowed).
Addendum:
Surely, the _xmlrpc function knows about and handles multiple parameters, since it builds an array with them, but eventually returns only the first item.
Comment #2
jrchamp commentedFrom the spec: