Hello,
I have posted the description of this error and subsequent corruption of presence XML sent from OpenFire in the following thread under OpenFire support:
http://www.igniterealtime.org/community/thread/32283?tstart=30
Can this please be posted as a bug in Jira? I’ve run out of ideas and this issue affects users in our environment daily so I would really want to have a fix.