Hi Folks, 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! Here is the XML message I'm sending (same as attached file): <?xml version="1.0" encoding="utf-8"?><methodCall><methodName>putPage</methodName><params><param><value><string>MaxCampos</string></value></param><param><value><string>Limón Thu Sep 1 23:43:51 PDT 2011 </string></value></param></params></methodCall> … and here is the error I receive. ERROR 1: <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 1, column 171 File "/usr/local/lib/python2.6/site-packages/MoinMoin/xmlrpc/__init__.py", line 140, in process params, method = xmlrpclib.loads(data) File "/usr/local/lib/python2.6/xmlrpclib.py", line 1182, in loads p.feed(data) File "/usr/local/lib/python2.6/xmlrpclib.py", line 601, in feed self._parser.Parse(data, 0) Notes: 1) If I replace the ó with ascii 'o' (i.e. remove any non-7 bit ascii chars), then this error goes away. 2) If I run "xmlwf" (libexpat's tool for validating xml) on the attached file, it validates OK. |
test_msg.xml
Description: XML document
------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user