--- a/apicompatanamdw/compatanalysercmd/checkbc/reports/BBCResults.xsl Mon Sep 20 10:04:46 2010 +0100
+++ b/apicompatanamdw/compatanalysercmd/checkbc/reports/BBCResults.xsl Mon Sep 27 14:51:17 2010 +0530
@@ -16,7 +16,7 @@
-->
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<xsl:param name="paramIssu" select="'All'" />
+<xsl:param name="paramIssu" select="'BC Break'" />
<xsl:param name="paramSort" select="'0'" />
<!--
<xsl:param name="paramShowOk" select="'0'" />
@@ -1104,10 +1104,10 @@
</xsl:for-each>
</xsl:if>
<xsl:if test="$reporttype='HDR'">
- <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK']) = 0">
+ <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK' and issue[typeid!=14 and typeid!=17]]) = 0">
<i>There are no issues.</i><BR/>
</xsl:if>
- <xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK']">
+ <xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK'and issue[typeid!=14 and typeid!=17]]">
<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
<xsl:call-template name="HDRNotOK" />
</xsl:for-each>
@@ -1154,14 +1154,14 @@
<xsl:if test="$reporttype='HDR'">
<xsl:choose>
- <xsl:when test="count(bbcresults/issuelist/headerfile[status!='OK']) = 0">
+ <xsl:when test="count(bbcresults/issuelist/headerfile[status!='OK' and issue[typeid!=14 and typeid!=17]]) = 0">
<i>There are no issues.</i><BR/>
</xsl:when>
<xsl:otherwise>
<table width="100%">
- <xsl:for-each select="//headerfile[status!='OK' and (($paramSort=1 and not(api/@name=preceding::api/@name)) or ($paramSort=2 and not(api/@category=preceding::api/@category)))]">
+ <xsl:for-each select="//headerfile[status!='OK' and issue[typeid!=14 and typeid!=17] and (($paramSort=1 and not(api/@name=preceding::api/@name)) or ($paramSort=2 and not(api/@category=preceding::api/@category)))]">
<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
<xsl:variable name="lbl">
<xsl:if test="$paramSort=1"><xsl:value-of select="api/@name"/></xsl:if>
@@ -1172,7 +1172,7 @@
<xsl:attribute name="id"><xsl:value-of select="$grId"/></xsl:attribute>
<xsl:attribute name="href">#<xsl:value-of select="$grId"/></xsl:attribute>+ <xsl:value-of select="$lbl"/></a></font></td></tr>
<tr style="display:none"><xsl:attribute name="id"><xsl:value-of select="$grId"/>dtl</xsl:attribute> <td>
- <xsl:for-each select="//headerfile[status!='OK' and (($paramSort=1 and api/@name=$lbl) or ($paramSort=2 and api/@category=$lbl))]">
+ <xsl:for-each select="//headerfile[status!='OK' and issue[typeid!=14 and typeid!=17] and (($paramSort=1 and api/@name=$lbl) or ($paramSort=2 and api/@category=$lbl))]">
<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
<xsl:call-template name="HDRNotOK" />
</xsl:for-each>
@@ -1293,10 +1293,10 @@
</xsl:if>
<xsl:if test="$reporttype='HDR'">
- <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK']) = 0">
+ <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK' and issue[typeid!=14 and typeid!=17]]) = 0">
<i>There are no issues.</i><BR/>
</xsl:if>
- <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK']) > 0">
+ <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK' and issue[typeid!=14 and typeid!=17]]) > 0">
<table id="iwTable" name="iwTable" width="100%">
<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC1');return false;" id="issBC1" href="#issBC1">+ BBC Break</a></font></td></tr>
@@ -1410,10 +1410,10 @@
</xsl:if>
<xsl:if test="$reporttype='HDR'">
- <xsl:if test="count(bbcresults/issuelist/headerfile[status='OK']) = 0">
+ <xsl:if test="count(bbcresults/issuelist/headerfile[status='OK' and issue[typeid!=14 and typeid!=17]]) = 0">
<TR><i>There are no issues.</i></TR>
</xsl:if>
- <xsl:for-each select="bbcresults/issuelist/headerfile[status='OK']">
+ <xsl:for-each select="bbcresults/issuelist/headerfile[status='OK' and issue[typeid!=14 and typeid!=17]]">
<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
<xsl:call-template name="HDROK" />
</xsl:for-each>
@@ -1542,19 +1542,19 @@
<xsl:choose>
<xsl:when test="$issBCSC='0'">
- <xsl:for-each select="issue">
+ <xsl:for-each select="issue[typeid !=14 and typeid != 17 ]">
<xsl:call-template name="issHDRNotOK" />
</xsl:for-each>
</xsl:when>
<xsl:when test="$issBCSC='1'">
- <xsl:for-each select="issue[severity/typestring=$issTyp]">
+ <xsl:for-each select="issue[typeid !=14 and typeid != 17 and severity/typestring=$issTyp]">
<xsl:call-template name="issHDRNotOK">
<xsl:with-param name="issBCSC" select="$issBCSC" />
</xsl:call-template>
</xsl:for-each>
</xsl:when>
<xsl:when test="$issBCSC='2'">
- <xsl:for-each select="issue[scseverity/typestring=$issTyp]">
+ <xsl:for-each select="issue[typeid !=14 and typeid != 17 and scseverity/typestring=$issTyp]">
<xsl:call-template name="issHDRNotOK">
<xsl:with-param name="issBCSC" select="$issBCSC" />
</xsl:call-template>