I have thought we should generate multiples as well. To fix a maven problem we need to generate a standard XML. From that we should be able to rapidly produce multiple output formats.
Given this state of affairs I agree that output-style should take multiple xslt arguments. LinkedIn: http://www.linkedin.com/in/claudewarren On Fri 31 Oct 2025, 17:14 Robert Stupp (Jira), <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/RAT-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034452#comment-18034452 > ] > > Robert Stupp commented on RAT-395: > ---------------------------------- > > Thinking of generating "human readable" reports (for 1.0.0)... > > There's already the plain text report, generated using > {{{}plain-rat.xsl{}}}. With HTML, there'd be another XSL. Leading to 2 > "standard" types (actually 3, if the unprocessed XML output counts as a > transformation). > > I (subjective, personal opinion) like both plain text and HTML. However, > there's only one {{Arg.OUTPUT_STYLE}} that takes a stylesheet as its > argument. Wonder whether there should be a repeating option. Something like > {{{}--output-style txt --output-style xml --output-style html > --output-style file:///something/custom.xsl{}}}. (Ignoring the very > relevant question how to name the many output files here.) > > Oh, thinking further: shall machine-external XSLs (not file and not > classpath resources) be forbidden by default to prevent security issues? > > > Add HTML report output > > ---------------------- > > > > Key: RAT-395 > > URL: https://issues.apache.org/jira/browse/RAT-395 > > Project: Apache Creadur RAT > > Issue Type: Improvement > > Components: core engine > > Affects Versions: 0.16.1 > > Reporter: Claude Warren > > Priority: Major > > Fix For: 1.0.0 > > > > Attachments: rat-output-to-html.xsl > > > > > > This request is to add an HTML report to the list of XSLTs that are > provided. The work should be based on the XSLT used by Kafka and attached > here. This XSLT is for the earlier version of the output and so needs > modification. > > [^rat-output-to-html.xsl] > > > > XSLT should be added to the list of internal XSLT files under the name > HTML or html > > See [org.apache.rat.commandline.StyleSheets.java| > https://github.com/apache/creadur-rat/blob/master/apache-rat-core/src/main/java/org/apache/rat/commandline/StyleSheets.java > ] > > > > -- > This message was sent by Atlassian Jira > (v8.20.10#820010) >
