BUG: vCard-temp Encodes vCard-temp incorrectly

Openfire sends vCard-temp IQs that are not compliant to the XEP-054 DTD.

It sends:



The DTD mandates that VERSION, FN, and N must appear once in every and must appear as the first 3 elements (in order). Instead Openfire sends N, EMAIL, FN. The authors of XEP-054 have suggested on the XMPP mailing list that VERSION should be considered optional to send even though the spec says otherwise, but this still does not reslve the issue.

Also, Openfire sends an element with missing required sub-elements (see the XEP-054 DTD for details).


Filed as OF-488