[jdev] GTalk and transports
Artur Hefczyc
ajdev at tigase.org
Tue Feb 6 07:48:09 CST 2007
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="
> matsben at gmail.com/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='
> matben at jabber.ru/coccinella ' xml:lang='sv' type='result' id='1034'><query
> xmlns='jabber:iq:register'> <username> matben59 at hotmail.com
> </username><password/><registe red/><key>40f505e65aba3fa19749
> 97bcb726cef50e49a215</key> <instructions>Enter your MSN Messenger account
> and password. Example: user1 at hotmail.com . 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/
More information about the JDev
mailing list