1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-11 14:17:08 +02:00

Fix AffiliationsExtension.toXml()

Fixes SMACK-789.
This commit is contained in:
Florian Schmaus 2017-12-05 20:39:16 +01:00
parent 47940ba5ad
commit ca1852f6e0

View file

@ -63,7 +63,7 @@ public class AffiliationsExtension extends NodeExtension
{ {
// Can't use XmlStringBuilder(this), because we don't want the namespace to be included // Can't use XmlStringBuilder(this), because we don't want the namespace to be included
XmlStringBuilder xml = new XmlStringBuilder(); XmlStringBuilder xml = new XmlStringBuilder();
xml.openElement(getElementName()); xml.halfOpenElement(getElementName());
xml.optAttribute("node", node); xml.optAttribute("node", node);
xml.rightAngleBracket(); xml.rightAngleBracket();
xml.append(items); xml.append(items);