protected XMLReader createTagSoupParser()

in src/main/java/org/apache/cxf/cwiki/SiteExporter.java [1162:1174]


    protected XMLReader createTagSoupParser() throws Exception {
        XMLReader reader = new Parser();
        reader.setFeature(Parser.namespacesFeature, false);
        reader.setFeature(Parser.namespacePrefixesFeature, false);
        reader.setProperty(Parser.schemaProperty, new org.ccil.cowan.tagsoup.HTMLSchema() {
            {
                //problem with nested lists that the confluence {toc} macro creates
                elementType("ul", M_LI, M_BLOCK | M_LI, 0);
            }
        });

        return reader;
    }