docs: private void printViolations(Violations violations, PrintWriter out) {
          out.println("<Violations>");
          for (Violation violation : violations.asList()) {
              out.println("<Violation ruleName='" + violation.getRule().getName() + "' position='" + violation.getPosition() + "'>");
              out.println("<Message><![CDATA[" + violation.getMessage() + "]]></Message>");
              out.println("</Violation>");
          }
          out.println("</Violations>");
      }