maybeFinishElement();
if (context == Context.Character) {
writeXmlEncoded(characters, start, count);
} else {
writeCDATA(characters, start, count);
<BUG>}
}</BUG>
public void writeCharacters(CharSequence characters) throws IOException {
maybeFinishElement();
if (context == Context.Character) {

maybeFinishElement();
if (context == Context.Character) {
writeXmlEncoded(characters, start, count);
} else {
writeCDATA(characters, start, count);
}
}
public void newLine() throws IOException {
maybeFinishElement();
writeRaw("\n");
}
public void writeCharacters(CharSequence characters) throws IOException {
maybeFinishElement();
if (context == Context.Character) {
