Bug: certain characters cause empty LDAP vCard

I’'ve set up the LDAP vcard-provider and customized my attribute mappings. It works pretty well, except for one thing:

It seems as if certain users in my directory somehow causes the vCard sent to the client to become empty:

What they have in common is that one or more data fields returned from LDAP and put in thier vCard contains Latin-1 charactes such as “aring” or “eacute” etc…

Looks to me like the server skips some encoding step and produces invalid XML for itself, before (not-) sending it out.

I seems to work in other clients but not in Spark. So problem might originate from Spark/Smack!