public static Node getDOM(String text) {
        log.debug("Start : getDOM1");

        Node node = getParser()
                .parseDOM(
                        new ByteArrayInputStream(
                                text.getBytes(StandardCharsets.UTF_8)), null);

        if (log.isDebugEnabled()) {
            log.debug("node : {}", node);
        }

        log.debug("End : getDOM1");

        return node;

    }
@Test
    public void testGetDom() throws Exception {
        HtmlParsingUtils.getDOM("<HTML></HTML>");
        HtmlParsingUtils.getDOM("");
    }