[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster-devel] python xml-rpc client, key with embedded ampersand

Brad Clements wrote:

On 24 Oct 2005 at 18:30, Marcel Ruff wrote:

2) Switching to XMLRPC the same fails, but escaping twice works again:

java javaclients.HelloWorldPublish -protocol XMLRPC -session.name aPublisher/1 -numPublish 5 -persistent false -oid Hello -clientTags "<org.xmlBlaster><a>&amp;amp;</a></org.xmlBlaster>"

The java subscriber runs fine with this setup (&amp;amp;) and receives a '&' as expected
for all protocols (XMLRPC, SOCKET, CORBA).

I just want to clarify that my subscriber (using pyBlaster) never receives the message, so the java fault I show below is generated by xmlBlaster..

Yep, but does the (workaround) with


work in your code?


Fault: <Fault 0: "java.lang.Exception: errorCode=legacy message=#exported Problems when building DOM tree from your XML-ASCII string: org.xml.sax.SAXParseException: Illegal character or entity reference syntax.\n
<key oid='xmlBlaster_192_168_1_9_3412-1129841072925000000' contentMime='text/xml'>\n <sfi type='instance'>
<messageprocessor type='instance'>
<organization>Dew Engineering & Development In</organization>
</sfi>\n </key>">