if (targetBlock == null) {
// TODO I want a approach to logging out template file path here
logger.warn("The block declares a not existed target block.[{}]", block.toString());
continue;
}
childNodes = new ArrayList<>(block.childNodes());
ElementUtil.safeEmpty(block);
switch (blockType) {
case ExtNodeConstants.BLOCK_NODE_ATTR_OVERRIDE:
targetBlock.empty();
ElementUtil.appendNodes(targetBlock, childNodes);