Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
javanesevn #1
Member since Apr 2008 · 74 posts · Location: Japan
Group memberships: Members
Show profile · Link to this post
Subject: HasTag return null
Hello Alex,

It seems bug for library. The tag with empty child return null value from message.HasTag(typeof(ClearAll)) method.


<message xmlns="jabber:client" from="test2@fedora9/home" to="test1@fedora9/home">
     <clear xmlns="http://cucmo.net/protocol/whiteboard" />
</message>

Regards,
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
have you registered your custom type in the ElementFactory?
Avatar
javanesevn #3
Member since Apr 2008 · 74 posts · Location: Japan
Group memberships: Members
Show profile · Link to this post
That's right. I am sorry, I forgot registered type for ElementFactory.

Best regards,
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS