Switch right bracket to left bracket on condition start tag.

StreamError toXML should output <..><cond>..</cond>,
not <..>>cond>..</cond>.
This commit is contained in:
Jae Jang 2014-12-10 10:56:24 -05:00 committed by Florian Schmaus
parent b3b42f3a9b
commit d5c7a2cad3
1 changed files with 1 additions and 1 deletions

View File

@ -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;