<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Folks,<div><br></div><div>I'm having trouble using the XMLRPC putPage under Moin 1.9.3 with non-7 bit ASCII text.  Has anyone successfully gotten this to work?  Any hints?  Thanks for any help!</div><div><br></div><div>Here is the XML message I'm sending (same as attached file):</div><div><br></div><div><div><div><?xml version="1.0" encoding="utf-8"?><methodCall><methodName>putPage</methodName><params><param><value><string>MaxCampos</string></value></param><param><value><string>Limón</div><div> Thu Sep  1 23:43:51 PDT 2011</div><div></string></value></param></params></methodCall></div></div><div><br></div><div>… and here is the error I receive.</div><div><br></div><div>ERROR 1: <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 1, column 171</div><div>  File "/usr/local/lib/python2.6/site-packages/MoinMoin/xmlrpc/__init__.py", line 140, in process</div><div>    params, method = xmlrpclib.loads(data)</div><div><br></div><div>  File "/usr/local/lib/python2.6/xmlrpclib.py", line 1182, in loads</div><div>    p.feed(data)</div><div><br></div><div>  File "/usr/local/lib/python2.6/xmlrpclib.py", line 601, in feed</div><div>    self._parser.Parse(data, 0)</div><div><br></div></div><div><b>Notes:</b></div><div>1) If I replace the ó with ascii 'o' (i.e. remove any non-7 bit ascii chars), then this error goes away.</div><div>2) If I run "xmlwf" (libexpat's tool for validating xml) on the attached file, it validates OK.</div><div><br></div><div></div></body></html>