Re: [vysper][pubsub] Realworld demo with realworld client

2009-07-06 Thread Michael Jakl
Hi! On Mon, Jul 6, 2009 at 07:30, Bernd Fondermannbf_...@brainlounge.de wrote: Michael Jakl wrote: Is there a specific reason for the namespace parameter in XMLElement? Otherwise I'd beg remove it (looking at the time it took me to find the bug). We have to take a look into this. I'm

Re: from addresses c2s [Re: [vysper][pubsub] Realworld demo with realworld client]

2009-07-05 Thread Michael Jakl
Hi! On Sun, Jul 5, 2009 at 00:34, Bernd Fondermannbf_...@brainlounge.de wrote: Bernd Fondermann wrote: After a quick(!) review, I found that the /client/ is required to send a 'from' address /only/ if it has bound more than one resource at the same time (rare). In all other cases, the from

Re: [vysper][pubsub] Realworld demo with realworld client

2009-07-05 Thread Michael Jakl
Hi! On Sat, Jul 4, 2009 at 23:33, Bernd Fondermannbf_...@brainlounge.de wrote: Michael Jakl wrote: The problem starts with the subscribe request. It seems that Vysper does not add the from address of the sender (see RFC3920, 9.1.2) to the stanzas. Maybe you could write a simple unit test

Re: from addresses c2s [Re: [vysper][pubsub] Realworld demo with realworld client]

2009-07-05 Thread Bernd Fondermann
On Sun, Jul 5, 2009 at 12:21, Michael Jakljakl.mich...@gmail.com wrote: Hi! On Sun, Jul 5, 2009 at 00:34, Bernd Fondermannbf_...@brainlounge.de wrote: Bernd Fondermann wrote: After a quick(!) review, I found that the /client/ is required to send a 'from' address /only/ if it has bound more

Re: from addresses c2s [Re: [vysper][pubsub] Realworld demo with realworld client]

2009-07-05 Thread Michael Jakl
Hi! On Sun, Jul 5, 2009 at 14:50, Bernd Fondermannbernd.fonderm...@googlemail.com wrote: On Sun, Jul 5, 2009 at 12:21, Michael Jakljakl.mich...@gmail.com wrote: Second, the RFC3929 9.1.2 says this: When a server receives an XML stanza within the context of an authenticated stream qualified by

Re: [vysper][pubsub] Realworld demo with realworld client

2009-07-05 Thread Michael Jakl
Hi! On Sat, Jul 4, 2009 at 23:33, Bernd Fondermannbf_...@brainlounge.de wrote: Now you know why I insisted to start early on this 'demo'... and it was not to see you bold at the end of the summer ;-) It took me quite a while to figure out where the problem is. No it seems that I've found it.

Re: [vysper][pubsub] Realworld demo with realworld client

2009-07-05 Thread Michael Jakl
Hi! On Sun, Jul 5, 2009 at 19:46, Michael Jakljakl.mich...@gmail.com wrote: I'm using new XMLElement(elementname, namespace) in all my classes to create an Slight correction: it is not XMLElement(elementname, namespace) but StringBuilder.startInnerElement(name, namespace). Michael

Re: [vysper][pubsub] Realworld demo with realworld client

2009-07-05 Thread Bernd Fondermann
Michael Jakl wrote: Hi! On Sat, Jul 4, 2009 at 23:33, Bernd Fondermannbf_...@brainlounge.de wrote: Now you know why I insisted to start early on this 'demo'... and it was not to see you bold at the end of the summer ;-) It took me quite a while to figure out where the problem is. No it

[vysper][pubsub] Realworld demo with realworld client

2009-07-04 Thread Michael Jakl
Hi! I've been trying to implement a demo application for my publish/subscribe extension. My experience so far is all but rosy, in fact I'm tearing my hair out. Let me explain what I did so far: I've tried basic usage of the server with Pidgin and Gajim, both cannot connect to the server due to

Re: [vysper][pubsub] Realworld demo with realworld client

2009-07-04 Thread Bernd Fondermann
Michael Jakl wrote: Hi! I've been trying to implement a demo application for my publish/subscribe extension. My experience so far is all but rosy, in fact I'm tearing my hair out. Let me explain what I did so far: I've tried basic usage of the server with Pidgin and Gajim, both cannot

from addresses c2s [Re: [vysper][pubsub] Realworld demo with realworld client]

2009-07-04 Thread Bernd Fondermann
Bernd Fondermann wrote: Michael Jakl wrote: Hi! I've been trying to implement a demo application for my publish/subscribe extension. My experience so far is all but rosy, in fact I'm tearing my hair out. Let me explain what I did so far: I've tried basic usage of the server with Pidgin