public List<Modification> parse(String svnLogOutput, String path, SAXBuilder builder) {
        try {
            Document document = builder.build(new StringReader(svnLogOutput));
            return parseDOMTree(document, path);
        } catch (Exception e) {
            throw bomb("Unable to parse svn log output: " + svnLogOutput, e);
        }
    }
@Test
    public void shouldParseLogWithEmptyRevision() {
        SvnLogXmlParser parser = new SvnLogXmlParser();
        List<Modification> materialRevisions = parser.parse("""
                <?xml version="1.0"?>
                <log>
                <logentry
                   revision="2">
                </logentry>
                <logentry
                   revision="3">
                <author>cceuser</author>
                <date>2008-03-11T07:52:41.162075Z</date>
                <paths>
                <path
                   action="A">/trunk/revision3.txt</path>
                </paths>
                </logentry>
                </log>""", "", new SAXBuilder());
        assertThat(materialRevisions.size()).isEqualTo(1);
        Modification mod = materialRevisions.get(0);
        assertThat(mod.getRevision()).isEqualTo("3");
        assertThat(mod.getComment()).isNull();
    }