mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-26 12:37:58 +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() {
|
||||
XmlStringBuilder xml = new XmlStringBuilder();
|
||||
xml.openElement(ELEMENT);
|
||||
xml.rightAngleBracket().append(condition.toString()).xmlnsAttribute(NAMESPACE).closeEmptyElement();
|
||||
xml.halfOpenElement(condition.toString()).xmlnsAttribute(NAMESPACE).closeEmptyElement();
|
||||
addDescriptiveTextsAndExtensions(xml);
|
||||
xml.closeElement(ELEMENT);
|
||||
return xml;
|
||||
|
|
Loading…
Reference in a new issue