Not sure if I understand your concerns regarding attribute quotes. According to XML spec: http://www.w3.org/TR/REC-xml/ Both single and double quotes are valid for attribute values.
Artur On Tuesday 06 February 2007 13:37, Mats Bengtsson wrote: > I noted that the GTalk server(s) seem to filter out anything that has to do > with transports. If I'm logged in at Google and disco jabber.ru I get > answers on all disco-info requests except them with feature gateway/* > > If I anyway try to register with any of them I get: > SEND: <iq type='get' id='1018' to=' msn.jabber.ru '><query > xmlns='jabber:iq:register'/>< /iq> RECV: <iq type="error" id="1018" to=" > [EMAIL PROTECTED]/coccinella " from=" msn.jabber.ru "><query > xmlns="jabber:iq:register"/> <error code="404" type="cancel"><remote-server > -not-found xmlns="urn:ietf:params:xml:ns :xmpp-stanzas"/></error></iq> > > Note the attribute quotes! > > But if I instead use this while logged into jabber.ru I get: > SEND: <iq type='get' id='1034' to=' msn.jabber.ru '><query > xmlns='jabber:iq:register'/>< /iq> RECV: <iq from=' msn.jabber.ru ' to=' > [EMAIL PROTECTED]/coccinella ' xml:lang='sv' type='result' id='1034'><query > xmlns='jabber:iq:register'> <username> [EMAIL PROTECTED] > </username><password/><registe red/><key>40f505e65aba3fa19749 > 97bcb726cef50e49a215</key> <instructions>Enter your MSN Messenger account > and password. Example: [EMAIL PROTECTED] . Nickname is > optional.</instructions>< /query></iq> > > Plain attribute quotes! > > So it seems that Google does some nasty things here. I guess this is a > decision related to "legal" issues. > > /Mats -- Artur Hefczyc http://www.tigase.org/ http://wttools.sf.net/
