Michael Jakl wrote:
> Hi!
> 
> On Sat, Jul 4, 2009 at 23:33, Bernd Fondermann<[email protected]> 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

Reply via email to