Element descr = findOrCreateDescriptionOnNextElement(e, idx, root);
if (descr == null) {
// lets move the comment node to before the root element...
LOG.warn("No description node found");
e.removeNode(c);
Parent grandParent = root.getParent();
if (grandParent != null) {
grandParent.addNode(grandParent.nodeIndexOf(root), c);
} else {
LOG.warn("Cannot save the comment '{}' as there's no parent in the DOM", text);
}
} else {
if (descr.getNodes().size() > 0) {