<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/jsxmlrpc/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/jsxmlrpc/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/jsxmlrpc/feature-requests/</id><updated>2008-02-27T23:46:33Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>Request to permit XML responses other than methodResponse</title><link href="https://sourceforge.net/p/jsxmlrpc/feature-requests/1/" rel="alternate"/><published>2008-02-27T23:46:33Z</published><updated>2008-02-27T23:46:33Z</updated><author><name>Geoff Chesshire</name><uri>https://sourceforge.net/u/geoffch/</uri></author><id>https://sourceforge.net75e0314414d872da22cd3260c36725a71520b8ef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I request that lines 1833-1834 be replaced to permit responses that contain XML other than &amp;lt;methodResponse&amp;gt;.  I often find that the XML-DOM document available at this point is exactly what I need.  For example, when making an AJAX query, I typically want to pass an XML-DOM document through an XSL transformation.  Here is the modification I would request:&lt;/p&gt;
&lt;p&gt;==== Before: ====&lt;/p&gt;
&lt;p&gt;default: //nothing useful returned by parseXML.&lt;br /&gt;
throw 'missing top level xmlrpc element';&lt;/p&gt;
&lt;p&gt;==== After: ====&lt;/p&gt;
&lt;p&gt;default: //perhaps the XML document might be useful&lt;br /&gt;
var r = new xmlrpcresp(obj, 0, '', return_type);&lt;br /&gt;
if (this.debug)&lt;br /&gt;
{&lt;br /&gt;
xmlrpc_debug_log('&amp;lt;PRE&amp;gt;---PARSED---');&lt;br /&gt;
xmlrpc_debug_log(htmlentities(var_export(obj)));&lt;br /&gt;
xmlrpc_debug_log('\n---END---&amp;lt;/PRE&amp;gt;');&lt;br /&gt;
}&lt;br /&gt;
r.hdrs = _xh['headers'];&lt;br /&gt;
r._cookies = _xh['cookies'];&lt;br /&gt;
r.raw_data = raw_data;&lt;br /&gt;
return r;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>