The JavaDoc for public Entity setContent(String textContent) reads; If this <code>Entity</code> will have both textual content and nexted elements, <code>{@link #setMixedContent}</code> should be used instead, I'm guessing that nexted needs to be replaces with nested ? --Jools