mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fondermann <bf_...@brainlounge.de>
Subject Re: [vysper][pubsub] Realworld demo with realworld client
Date Mon, 06 Jul 2009 05:30:34 GMT
Michael Jakl wrote:
> Hi!
> 
> On Sat, Jul 4, 2009 at 23:33, Bernd Fondermann<bf_jak@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.
> 
> I'm using new XMLElement(elementname, namespace) in all my classes to create an
> element together with a namespace. Unfortunately this namespace is ignored and
> hence smack does not know what to do with the stanzas I send it.
> 
> The solution (I hope) is to use StringBuilder.setNamespaceAttribute(...) to add
> the namespace as an attribute.

Yes, you're right.

> 
> 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
new, specifc thread Niklas started. Sorry for the trouble.

  Bernd

Mime
View raw message