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

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



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..


> >        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'>
> >                    <dn>cn=brad.clements,o=sfiusa,dc=public,dc=strader-ferris,dc=com</dn>
> >                    <organization>Dew Engineering & Development In</organization>
> >                    <admin_message_type>party_username_signup</admin_message_type>
> >                    <message_type>admin_email</message_type>
> >                    <recipient_dn>cn=Janet.Collins,o=dew,dc=public,dc=strader-ferris,dc=com</recipient_dn>
> >                </messageprocessor>
> >            </sfi>\n 
> >        </key>">
> >
-- 
Brad Clements,                bkc at murkworks.com    (315)268-1000
http://www.murkworks.com                          
AOL-IM or SKYPE: BKClements