in util/src/main/java/org/apache/jsieve/util/XmlOut.java [507:520]
public void content(CharSequence content) throws IOException {
if (elementNames.isEmpty()) {
if (elementsWritten) {
throw new OperationNotAllowedException("Root element has already been closed.");
} else {
throw new OperationNotAllowedException("An element must be opened before content can be written.");
}
}
if (inElement) {
writer.write('>');
}
writeBodyContent(content);
inElement = false;
}