Not logged in. · Lost password · Register
Forum: Community Bugs RSS
PEP: User mood
Bug in synthax...

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
Microphage71 #1
User title: Microphage71
Member for 2 months · 2 posts · Location: Fayence
Group memberships: Members
Show profile · Link to this post
Subject: PEP: User mood
Hello,

I speak a very little english so excuse me for my accent :)

Okay, i write a Jabber libray and i use your client for debugging. Actually i work on PEP and User mood and when i open XML Console of PSI 0.11 i view:
<message xmlns="jabber:client" from="psi contact" to="another client contact">
<event xmlns="http://jabber.org/protocol/pubsub#event">
<item node="http://jabber.org/protocol/mood">
<item id="current">
<mood xmlns="http://jabber.org/protocol/mood">
<angry />
</mood>
</item>
</item>
</event>
</message>

cool i receive moods but now the bug:
<[b][color=crimson]item[/color][/b] node="http://jabber.org/protocol/mood">
<item id="current">

I found paragraph in XEP 0107 definition, and:
Example 2. Mood is Delivered to All Subscribers
<message
    from='juliet@capulet.lit'
    to='romeo@montague.net'>
  <event xmlns='http://jabber.org/protocol/pubsub#event'>
    <[b][color=crimson]items[/color][/b] node='http://jabber.org/protocol/mood'>
      <item id='a475804a-0f9c-11dc-98a8-001143d5d5db'>
        <mood xmlns='http://jabber.org/protocol/mood'>
          <annoyed/>
          <text>curse my nurse!</text>
        </mood>
      </item>
    </items>
  </event>
</message>

It's Items not Item !  and now surprise... Coccinella do same error !!!! You speak with Coccinella but others dont understand you... hum bad :)

Excuse me for my english.
Christophe
Avatar
spike (Administrator) #2
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
This is a bug in the server of the contact publishing the mood. Psi only sends the inner 'item', and the server wraps this in an <items> element. I use openfire, which publishes the item correctly.

Out of interest, which server is this? And is this a recent PEP component?
- Remko
This post was edited on 04-02-2008, 08:45 by spike.
Microphage71 #3
User title: Microphage71
Member for 2 months · 2 posts · Location: Fayence
Group memberships: Members
Show profile · Link to this post
The server is ejabberd 2.0. In fact, many bugs found... this bug with Item(s), an another with missing namspace in activity tag, etc

I think to, server have many bugs , but PEP is very fresh!

You can test these, on Jabber.no or installing ejabberd 2.0 on local network.

Now i use openfire, and all is rights :)
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 05-17-2008, 11:46:58 (UTC -04:00)