ottlinger commented on code in PR #233: URL: https://github.com/apache/creadur-rat/pull/233#discussion_r1564255897
########## apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java: ########## @@ -140,9 +100,9 @@ public void startReport() throws RatException { @Override public void endReport() throws RatException { try { - writer.closeDocument(); + writer.closeElement(); } catch (IOException e) { - throw new RatException("Cannot close last element", e); + throw new RatException("Cannot open start element", e); Review Comment: "Cannot close start element"? endReport() should not open the start element here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org