Hello,
Twisted and wokkel svn trunk and ejabberd 2.0.3.
I'm trying to do a simple node creation with:
class pubsubread(pubsub.PubSubClient):
def __init__(self):
self.xmlstream = xmppClient.xmlstream
self.connectionInitialized()
self.createNode(svc,node)
The conversation log is the following:
2009-04-09 11:27:44+0200 [-] SEND: "<iq to='pubsub.lab' type='set'
id='H_2'><pubsub xmlns='http://jabber.org/protocol/pubsub'><create
node='/home/lab/lab01/valami'/></pubsub></iq>"
2009-04-09 11:27:44+0200 [XmlStream,client] RECV: "<iq from='pubsub.lab'
to='la...@lab/tx' type='error' id='H_2'><pubsub
xmlns='http://jabber.org/protocol/pubsub'><create
node='/home/lab/lab01/valami'/></pubsub><error code='400'
type='modify'><bad-request
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>"
I'm pretty much new to XMPP, but after taking a quick look at XEP-60 I
think the above request is invalid.
8.1.2 says:
"In order to create a node with default configuration, the node creator
MUST include an empty <configure/> child element in the creation request."
And it seems to be the problem. If I take the above IQ, add a
<configure/> to it, and send it from pidgin's XML console, ejabberd
creates the node for me.
It seems that others are also affected:
http://www.ejabberd.im/node/3380
BTW, from the code I see that there is no support for configuration of
the nodes. Will this be supported sometimes? (perhaps in the very close
future? :)
Thanks,
_______________________________________________
Twisted-Jabber mailing list
[email protected]
https://mailman.ik.nu/mailman/listinfo/twisted-jabber