throws UnableToCompleteException {
if (!elem.hasChildNodes()) {
writer.die(elem, "Empty message");
}
MessageWriter message = messages.newMessage(elem);
PlaceholderInterpreter interpreter =
new TextPlaceholderInterpreter(writer, message);
message.setDefaultMessage(elem.consumeInnerText(interpreter));
return messages.declareMessage(message);
}