I can now post and edit.
I had to replace my xmlrpc.php with Cori Schlegel’s version. His version allowed me to create new posts, but I had to modify his version in order to edit posts.
To edit a post, the function mw_editPost needed the same correction as mw_newPost – the user name and password needed the extra spaces on the end trimmed off. I just trimmed the user name and password of every instance in xmlrpc.php