/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/support/lint/ReportXmlFormatter.java
} rootElement.appendChild( createFileElement( resourceErrors) ) ;for ( final ResourceLintReport<LintItem> resourceErrors : getLintReport( ).getReports( ) ) {
for ( final ResourceLintReport<LintItem> resourceErrors : getLintReport ( ) .getReports ( ) ) { rootElement.appendChild ( createFileElement ( resourceErrors ) ) ; }
this.formatterType = type; } @Override protected void buildDocument() { final Element rootElement = getDocument().createElement(formatterType.rootElementName); getDocument().appendChild(rootElement); <extra_id_0> } private Node createFileElement(final ResourceLintReport<LintItem> resourceErrors) { final Element fileElement = getDocument().createElement(ELEMENT_FILE); fileElement.setAttribute(ATTR_NAME, resourceErrors.getResourcePath()); for (final LintItem error : resourceErrors.getLints()) { fileElement.appendChild(createIssueElement(error));