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

2009-07-06 Thread Michael Jakl
Hi! On Mon, Jul 6, 2009 at 07:30, Bernd Fondermann 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 responding on the

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 Fondermann 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'

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

2009-07-05 Thread Michael Jakl
Hi! On Sun, Jul 5, 2009 at 19:46, Michael Jakl 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 Michael Jakl
Hi! On Sat, Jul 4, 2009 at 23:33, Bernd Fondermann 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. I'm using new XMLEle

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 Fondermann wrote: > On Sun, Jul 5, 2009 at 12:21, Michael Jakl 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 the 'jabber:client' namespace, it >> MUST do o

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 Jakl wrote: > Hi! > > On Sun, Jul 5, 2009 at 00:34, Bernd Fondermann 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 >> tim

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

2009-07-05 Thread Michael Jakl
Hi! On Sat, Jul 4, 2009 at 23:33, Bernd Fondermann 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 for that? > T

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 Fondermann 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 is available in th

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 se

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

[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 X