Thu, 01 Nov 2018 16:12:09 -0700
Added tag jdk8u201-b02 for changeset 8c18711ab932
aoqi@0 | 1 | <?xml version="1.0"?> |
aoqi@0 | 2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
aoqi@0 | 3 | <xsl:output method="text" omit-xml-declaration="yes"/> |
aoqi@0 | 4 | |
aoqi@0 | 5 | <xsl:template match="/"> |
aoqi@0 | 6 | Coding Style Check Results |
aoqi@0 | 7 | -------------------------- |
aoqi@0 | 8 | Total files checked: <xsl:number level="any" value="count(descendant::file)"/> |
aoqi@0 | 9 | Files with errors: <xsl:number level="any" value="count(descendant::file[error])"/> |
aoqi@0 | 10 | Total errors: <xsl:number level="any" value="count(descendant::error)"/> |
aoqi@0 | 11 | Errors per file: <xsl:number level="any" value="count(descendant::error) div count(descendant::file)"/> |
aoqi@0 | 12 | <xsl:apply-templates/> |
aoqi@0 | 13 | </xsl:template> |
aoqi@0 | 14 | |
aoqi@0 | 15 | <xsl:template match="file[error]"> |
aoqi@0 | 16 | <xsl:apply-templates select="error"/> |
aoqi@0 | 17 | </xsl:template> |
aoqi@0 | 18 | |
aoqi@0 | 19 | <xsl:template match="error"> |
aoqi@0 | 20 | <xsl:value-of select="../@name"/>:<xsl:value-of select="@line"/><xsl:text>: </xsl:text><xsl:value-of select="@message"/><xsl:text> |
aoqi@0 | 21 | </xsl:text> |
aoqi@0 | 22 | </xsl:template> |
aoqi@0 | 23 | |
aoqi@0 | 24 | </xsl:stylesheet> |