equal
deleted
inserted
replaced
77 |
77 |
78 <h2>Breakdown by package/severity</h2> |
78 <h2>Breakdown by package/severity</h2> |
79 <xsl:for-each select="phase/step/failures[@level]/failure[generate-id(.) = generate-id(key('packages', @package))]"> |
79 <xsl:for-each select="phase/step/failures[@level]/failure[generate-id(.) = generate-id(key('packages', @package))]"> |
80 <xsl:sort select="@package"/> |
80 <xsl:sort select="@package"/> |
81 <xsl:variable name="package" select="@package"/> |
81 <xsl:variable name="package" select="@package"/> |
82 <xsl:element name="a"> |
|
83 </xsl:element> |
|
84 <a><xsl:attribute name="name"><xsl:value-of select="concat('package', $package)"/></xsl:attribute> |
82 <a><xsl:attribute name="name"><xsl:value-of select="concat('package', $package)"/></xsl:attribute> |
85 <h3><xsl:value-of select="$package"/></h3> |
83 <h3><xsl:value-of select="$package"/></h3> |
86 </a> |
84 </a> |
87 <table border="1"> |
85 <table border="1"> |
88 <tr><th>Severity</th><th>Count</th></tr> |
86 <tr><th>Severity</th><th>Count</th></tr> |
95 </xsl:for-each> |
93 </xsl:for-each> |
96 </table> |
94 </table> |
97 </xsl:for-each> |
95 </xsl:for-each> |
98 </xsl:if> |
96 </xsl:if> |
99 |
97 |
|
98 <h2>Floating failures by phase/step/severity</h2> |
|
99 <xsl:if test="count(phase/step/failures/failure/@package) = count(phase/step/failures/failure)"> |
|
100 <p>No errors independent of package</p> |
|
101 </xsl:if> |
|
102 <xsl:for-each select="phase[count(step/failures/failure/@package) != count(step/failures/failure)]"> |
|
103 <h3>Phase: <xsl:value-of select="@name"/></h3> |
|
104 <xsl:for-each select="step[count(failures/failure/@package) != count(failures/failure)]"> |
|
105 <h4>Step: <xsl:value-of select="@name"/></h4> |
|
106 <xsl:for-each select="failures[count(failure/@package) != count(failure)]"> |
|
107 <dl><dt><xsl:value-of select="@level"/></dt><dd> |
|
108 <ul> |
|
109 <xsl:for-each select="failure[count(@package) = 0]"> |
|
110 <li><xsl:value-of select="."/></li> |
|
111 </xsl:for-each> |
|
112 </ul> |
|
113 </dd></dl> |
|
114 </xsl:for-each> |
|
115 </xsl:for-each> |
|
116 </xsl:for-each> |
|
117 |
|
118 <h2>Package failures by phase/step/severity</h2> |
|
119 <xsl:if test="count(phase/step/failures/failure/@package) = 0"> |
|
120 <p>No errors specific to a package</p> |
|
121 </xsl:if> |
|
122 <xsl:for-each select="phase[step/failures/failure/@package]"> |
|
123 <h3>Phase: <xsl:value-of select="@name"/></h3> |
|
124 <xsl:for-each select="step[failures/failure/@package]"> |
|
125 <h4>Step: <xsl:value-of select="@name"/></h4> |
|
126 <xsl:for-each select="failures[failure/@package]"> |
|
127 <dl><dt><xsl:value-of select="@level"/></dt><dd> |
|
128 <ul> |
|
129 <xsl:for-each select="failure[@package]"> |
|
130 <xsl:sort select="@package"/> |
|
131 <li><xsl:value-of select="@package"/>: <xsl:value-of select="."/></li> |
|
132 </xsl:for-each> |
|
133 </ul> |
|
134 </dd></dl> |
|
135 </xsl:for-each> |
|
136 </xsl:for-each> |
|
137 </xsl:for-each> |
|
138 |
100 </body> |
139 </body> |
101 </html> |
140 </html> |
102 </xsl:template> |
141 </xsl:template> |
103 |
142 |
104 </xsl:stylesheet> |
143 </xsl:stylesheet> |