Closed baalexander closed 13 years ago
A test case has been added locally and a fix is in progress.
The issue was the parser was interpreting the new lines between elements as data, resulting in junk. This only seemed to arise with method calls (there were already whitespace fixes for params). I went ahead and refactored the whitespace handling to ignore the whitespace in the future.
Added a test case using the exact XML that Python sends with its xmlrpclib. Also tested with a node-xmlrpc server and made calls to using Python.
When using Python's XML-RPC library to call a node-xmlrpc server, the xmlrpc server gets hung up on the newlines Python inserts in its method calls.
Example Python XML-RPC method call:
Python code:
Testing shows the parser is the culprit and is including the newlines in its parsing.