mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
Switch right bracket to left bracket on condition start tag.
StreamError toXML should output <..><cond>..</cond>, not <..>>cond>..</cond>.
This commit is contained in:
parent
b3b42f3a9b
commit
d5c7a2cad3
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public class StreamError extends AbstractError implements PlainStreamElement {
|
||||||
public XmlStringBuilder toXML() {
|
public XmlStringBuilder toXML() {
|
||||||
XmlStringBuilder xml = new XmlStringBuilder();
|
XmlStringBuilder xml = new XmlStringBuilder();
|
||||||
xml.openElement(ELEMENT);
|
xml.openElement(ELEMENT);
|
||||||
xml.rightAngleBracket().append(condition.toString()).xmlnsAttribute(NAMESPACE).closeEmptyElement();
|
xml.halfOpenElement(condition.toString()).xmlnsAttribute(NAMESPACE).closeEmptyElement();
|
||||||
addDescriptiveTextsAndExtensions(xml);
|
addDescriptiveTextsAndExtensions(xml);
|
||||||
xml.closeElement(ELEMENT);
|
xml.closeElement(ELEMENT);
|
||||||
return xml;
|
return xml;
|
||||||
|
|
Loading…
Reference in a new issue