Cannot obtain extension from packet! QName problem?


In a plugin i am adding a Extension to a Message packet* and sending to a SparkWebClient.

the client receives (.getNode().toString()):

tehanu@vilt-lt2none</patc h>TODO

In SparkWeb if i try to get the extension like this:

var e:Extension = message.getExtension(“vilt”);

or like this

var e:Extension = message.getExtension(“vilt”,“jabber:msg:vilt”);

I get nothing, iterating getAllExtensions() returns nothig too.

Is there something wrong with my namespaces?

*Im adding the extension, by xml node adition, because i dont want Openfire needing to know my extensions (to avoid problems updating).