[jdev] jabber.org not conforming to JEP standards
Chris Chen
ckchris at idream.net
Sun Aug 7 05:10:36 CDT 2005
Hi,
I am just wondering if there are people who develop the server
running on jabber.org know anything about this.
According to JEP-0078's jabber:iq:auth schema, there should only be 4
child elements to the query -- username, password, digest, and
resource, in that order. However, I am doing some tests and tried to
login on purpose with the wrong password. Here is the result stanza
that I get back from the jabber.org's server:
<iq id='frdn_1' type='error'><query
xmlns='jabber:iq:auth'><username>blah</username><password>blah</
password><resource>Home</resource><connection_properties
xmlns='http://www.jabber.com/schemas/connectionprops.xsd'><x
type='submit' xmlns='jabber:x:data'><field
var='FORM_TYPE'><value>http://www.jabber.com/schemas/
connectionprops.xsd</value></field><field type='text-single'
var='peer-address'><value>xx.xx.xx.xx</value></field><field
type='text-single' var='peer-port'><value>29364</value></field><field
type='text-single' var='local-address'><value>xx.xx.xx.xx</value></
field><field type='text-single' var='local-port'><value>5222</value></
field><field type='text-single' var='peer-certificate'><value>-----
BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</value></field></x></connection_properties></query><error
code='401'>Unauthorized</error></iq>
The username, password, and IPs have been marked out, but the xml
structure is as is. Notice that the result stanza has an additional
<connection_properties/> tacked onto the IQ <query> stanza.
According to JEP-0078, this is wrong.
So i am wondering why it is even there and being sent back to the
user. It does not conform to JEP-0078 nor the XMPP specs.
Thanks,
Chris
More information about the JDev
mailing list