Here's my predicament: A few months ago, when we upgraded from jabber 1.2 to
1.4, offline message management broke.  (They continued to store up in spool
files beyond maxoffline, and they were never being delivered).   I recently
discovered it was due to a module dependency issue (mod_offline needed to be
loaded before mod_presence).  However, before enabling the fix in
production, I decided to purge excessive offline content in the spool files,
so users wouldn't get bombarded with old garbage.

And herein lies the problem: I wrote a script using perl XML::Simple to
undef offline storage message array elements that I didn't want to keep.
XMLout() converted the empty message arrays to <message></message>.  This
caused jabberd to coredump! I can of course rerun the conversion, completely
removing the empty message tags, but was wondering if anyone knew of a quick
source code fix to be able to correctly handle these empty message tags?
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to