public static String fixXmlOutput(String xml) {
        xml = xml.replaceAll("><!\\[CDATA\\[", ">\n<![CDATA[");
        xml = xml.replaceAll("\\h+<!\\[CDATA\\[", "<![CDATA[");
        xml = xml.replaceAll("(\\h*)]]><", "]]>\n$1<");
        return removeEmptyLines(xml);
    }
@Test
    public void testFixXmlOutput() throws Exception {
        String xml = IOHelper.loadText(new FileInputStream("src/test/resources/enriched-camel-spring.xsd"));
        String out = EipDocumentationEnricherMojo.fixXmlOutput(xml);
        Assertions.assertNotNull(out);
        Assertions.assertNotEquals(xml, out);
        // System.out.println(out);
    }