Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Bug #2628 XML_RPC_Server doesn't parse XML without carriage returns correctly.
Submitted: 2004-10-27 11:11 UTC
From: glideraerobatics at hotmail dot com Assigned:
Status: Bogus Package: XML_RPC
PHP Version: 4.3.9 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-27 11:11 UTC] glideraerobatics at hotmail dot com
Description: ------------ XMLRPC method call's without carriage returns result in this fault response: <methodResponse> <fault> <value> <struct> <member> <name>faultCode</name> <value><int>1</int></value> </member> <member> <name>faultString</name> <value><string>Unknown method</string></value> </member> </struct> </value> </fault> </methodResponse> Reproduce code: --------------- This method call will work: <?xml version="1.0" encoding="UTF-8"?> <methodCall> <methodName>getCustomerTemplates</methodName> <params> <param> <value> <int>1056</int> </value> </param> </params> </methodCall> This same method call without the CR's won't work: <?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>getCustomerTemplates</methodName><params><param><value><int>1056</int></value></param></params></methodCall> Expected result: ---------------- See above. Actual result: -------------- See above.

Comments

 [2004-11-29 20:17 UTC] toby