bc_tools/BCHdrGreyList.xsl
author William Roberts <williamr@symbian.org>
Wed, 30 Jun 2010 16:19:02 +0100
changeset 302 c1b745b16f58
parent 247 b836184892c6
permissions -rw-r--r--
version 0.18 - detect the login redirections on the new-look developer site Added additional debug information for incomplete transfers and login failures.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
247
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     1
<!-- 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     2
- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     3
- All rights reserved.
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     4
- This component and the accompanying materials are made available
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     5
- under the terms of the License "Eclipse Public License v1.0"
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     6
- which accompanies this distribution, and is available
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     7
- at the URL "http://www.eclipse.org/legal/epl-v10.html".
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     8
- 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
     9
- Initial Contributors:
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    10
- Nokia Corporation - initial contribution.
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    11
- 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    12
- Contributors:
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    13
-   Maciej Seroka, maciejs@symbian.org
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    14
- 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    15
- Description:
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    16
- 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    17
-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    18
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    19
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    20
<xsl:param name="paramIssu" select="'All'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    21
<xsl:param name="paramSort" select="'0'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    22
<!--
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    23
<xsl:param name="paramShowOk" select="'0'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    24
-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    25
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    26
<xsl:variable name="show_API">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    27
  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    28
    <xsl:when test="count(//api) &gt; 0">1</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    29
    <xsl:otherwise>0</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    30
  </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    31
</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    32
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    33
<xsl:variable name="sort1">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    34
	<xsl:if test="$paramSort = 1">api</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    35
	<xsl:if test="$paramSort != 1">nonode</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    36
</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    37
<xsl:variable name="sort2">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    38
	<xsl:if test="$paramSort = 2">api</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    39
	<xsl:if test="$paramSort != 2">nonode</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    40
</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    41
<xsl:variable name="sort0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    42
	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    43
		<xsl:when test="$paramSort = 0 and count(//shortname) &gt; 0">shortname</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    44
		<xsl:when test="$paramSort = 0 and count(//shortname) = 0">name</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    45
		<xsl:otherwise test="$paramSort != 0">nonode</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    46
	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    47
</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    48
<xsl:variable name="xslRepBlk">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    49
	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    50
		<xsl:when test="$paramSort!=0">okRepBlock</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    51
		<xsl:otherwise>repBlock</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    52
	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    53
</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    54
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    55
<xsl:template match="/">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    56
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    57
<HTML xmlns:msie="urn:default">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    58
<msie:download id="dler" style="behavior:url(#default#download)"/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    59
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    60
<xsl:variable name="reporttype">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    61
  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    62
    <xsl:when test="count(bbcresults/issuelist/headerfile) &gt; 0">HDR</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    63
    <xsl:when test="count(bbcresults/issuelist/library) &gt; 0">LIB</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    64
    <xsl:otherwise>NON</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    65
  </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    66
</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    67
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    68
<HEAD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    69
<TITLE>Binary Compatibility Open Issues :: 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    70
		<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    71
      <xsl:when test="$reporttype='HDR'">Headerfiles</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    72
	  <xsl:when test="$reporttype='LIB'">Libraries</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    73
      <xsl:otherwise>Empty</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    74
    </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    75
</TITLE>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    76
  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    77
<script type="text/javascript">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    78
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    79
var diffFileName = new Array(2);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    80
var diffFileContent = new Array(2);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    81
var diffFileIndex;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    82
var popup;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    83
var hasFailed = false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    84
var diffTitle = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    85
var diffFileName1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    86
var diffFileName2;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    87
var repBlk = '<xsl:value-of select="$xslRepBlk"/>';
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    88
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    89
var hrefLoaction;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    90
hrefLoaction = window.location.href;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    91
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    92
function switchMenu(obj) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    93
	if (document.getElementById)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    94
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    95
		var el = document.getElementById(obj);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    96
		if (el)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    97
		{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    98
				if ( el.style.display != "none" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
    99
				   el.style.display = 'none';
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   100
				   document.getElementById("cl").innerHTML = "View OK Issues";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   101
			   	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   102
				else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   103
				   el.style.display = 'inline';
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   104
				   document.getElementById("cl").innerHTML = "Hide OK Issues";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   105
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   106
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   107
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   108
}	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   109
function switchBacklink(obj)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   110
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   111
if (document.getElementById)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   112
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   113
		var el = document.getElementById(obj);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   114
		if (el)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   115
		{				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   116
				   el.style.display = 'none';
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   117
				   window.location.href = hrefLoaction;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   118
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   119
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   120
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   121
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   122
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   123
function openPath( file )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   124
{	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   125
	var thefile = file;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   126
	thefile = file.replace( /\\/g, "/" );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   127
	if ( thefile != null )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   128
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   129
	  pos1=thefile.lastIndexOf('/');	  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   130
	  thefile=thefile.substring(0,pos1);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   131
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   132
	if ( thefile != null )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   133
		window.location = "file://" + thefile;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   134
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   135
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   136
function showFile( file1, file2 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   137
{	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   138
	var thefile = null;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   139
  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   140
	origbasedir = document.getElementById( "origbaselinedir" ).value.replace( /\\/g, "/" ).replace( /\*\.h/g, "" ).replace(/\/s*$/, "");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   141
	newbasedir = document.getElementById( "baselinedir" ).firstChild.data.replace( /\\/g, "/" ).replace(/\/s*$/, "");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   142
	origcurrdir = document.getElementById( "origcurrentdir" ).value.replace( /\\/g, "/" ).replace(/\/s*$/, "");;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   143
	newcurrdir = document.getElementById( "currentdir" ).firstChild.data.replace( /\\/g, "/" ).replace(/\/s*$/, "");;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   144
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   145
	if ( file1 != null )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   146
		thefile = file1.replace( origbasedir, newbasedir );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   147
	else if ( file2 != null )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   148
		thefile = file2.replace( origcurrdir, newcurrdir );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   149
	if ( thefile != null )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   150
		window.location = "file://" + thefile;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   151
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   152
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   153
function showDiff( title, file1, file2 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   154
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   155
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   156
	diffTitle = "diff : " + title;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   157
	origbasedir = document.getElementById( "origbaselinedir" ).value.replace( /\\/g, "/" ).replace( /\*\.h/g, "" ).replace(/\/s*$/, "");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   158
	newbasedir = document.getElementById( "baselinedir" ).firstChild.data.replace( /\\/g, "/" ).replace(/\/s*$/, "");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   159
	origcurrdir = document.getElementById( "origcurrentdir" ).value.replace( /\\/g, "/" ).replace(/\/s*$/, "");;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   160
	newcurrdir = document.getElementById( "currentdir" ).firstChild.data.replace( /\\/g, "/" ).replace(/\/s*$/, "");;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   161
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   162
	file1 = diffFileName1 = file1.replace( origbasedir, newbasedir );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   163
	file2 = diffFileName2 = file2.replace( origcurrdir, newcurrdir );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   164
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   165
	diffFileName[0] = file1; diffFileName[1] = file2;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   166
	diffFileContent[0] = ""; diffFileContent[1] = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   167
	diffFileIndex = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   168
	if ( typeof(dler) != "undefined" &amp;&amp; typeof(dler.startDownload) != "undefined" ) ieLoad( "" );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   169
	else ffLoad();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   170
	window.setTimeout( "loadFailed()", 1500 );	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   171
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   172
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   173
function loadFailed()
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   174
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   175
	if ( hasFailed ) return;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   176
	else hasFailed = true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   177
	if ( diffFileContent[0] == "" ) alert( "Could not load file: " + diffFileName[0] );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   178
	else if ( diffFileContent[1] == "" ) alert( "Could not load file: " + diffFileName[1] );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   179
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   180
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   181
function ffLoad()
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   182
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   183
	var req = new XMLHttpRequest(); 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   184
	req.onreadystatechange = function() { 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   185
		if (req.readyState == 4 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   186
			diffFileContent[diffFileIndex++] = req.responseText;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   187
			if ( diffFileIndex == 1 ) ffLoad();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   188
			else diffFilesLoaded();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   189
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   190
	};
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   191
	req.open( "GET", "file:///" + diffFileName[diffFileIndex], true ); 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   192
	req.send( null ); 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   193
} 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   194
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   195
function ieLoad( text )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   196
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   197
	if ( diffFileIndex &gt; 0 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   198
		if ( text == "" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   199
			loadFailed();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   200
			return;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   201
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   202
		diffFileContent[diffFileIndex-1] = text;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   203
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   204
	++diffFileIndex;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   205
	if ( diffFileIndex &lt;= 2 ) dler.startDownload( diffFileName[diffFileIndex-1], ieLoad );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   206
	else diffFilesLoaded();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   207
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   208
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   209
function setProgress( percentage )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   210
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   211
	var prog1 = Math.max( 1, Math.round( percentage * 1.5 ) );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   212
	var prog2 = 150 - prog1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   213
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   214
function SetFocus(element)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   215
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   216
window.scrollTo(0,0);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   217
var tmp=document.getElementById(element);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   218
if(tmp !=null)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   219
tmp.focus();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   220
return true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   221
} 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   222
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   223
function diffFilesLoaded()
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   224
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   225
	var w = window.screen.availWidth - 50;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   226
	var h = window.screen.availHeight - 150;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   227
	popup = window.open( "", "_self");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   228
	popup.document.title = diffTitle;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   229
	popup.document.body.style.margin = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   230
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   231
	var oldcontent = diffFileContent[0];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   232
	var newcontent = diffFileContent[1];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   233
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   234
	var oldlines = oldcontent.replace(/\r/g, "").split("\n");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   235
	var newlines = newcontent.replace(/\r/g, "").split("\n");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   236
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   237
	res = diff( oldlines, newlines );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   238
	var matching = res.matching;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   239
	var matchtype = res.matchtype;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   240
	var output = "&lt;table width='100%' cellspacing='0' cellpadding='1' border='0' style='font-family: Courier; font-size=1;'&gt;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   241
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   242
	var lastA = -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   243
	var lastB = -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   244
	for ( i = 0; i &lt;= matching.length; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   245
		if ( i == matching.length || matching[i] != -1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   246
			// all lines ]lastA..i[ --&gt; removed
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   247
			for ( j = lastA + 1; j &lt; i; ++j ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   248
				output += "&lt;tr&gt;&lt;td bgColor='#ff9080'&gt;" + repfunc( oldlines[j] ) + "&lt;/td&gt;&lt;td width='1' bgColor='black'&gt;&lt;/td&gt;" +
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   249
						  "&lt;td bgColor='#e0e0e0'&gt;" + repfunc( "" ) + "&lt;/td&gt;&lt;/tr&gt;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   250
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   251
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   252
			// all lines ]lastB..matching[i][ --&gt; inserted
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   253
			if ( i &lt; matching.length )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   254
				untilB = matching[i];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   255
			else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   256
				untilB = newlines.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   257
			for ( j = lastB + 1; j &lt; untilB; ++j ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   258
				output += "&lt;tr&gt;&lt;td bgColor='#e0e0e0'&gt;" + repfunc( "" ) + "&lt;/td&gt;&lt;td width='1' bgColor='black'&gt;&lt;/td&gt;" +
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   259
						  "&lt;td bgColor='#a0e0a0'&gt;" + repfunc( newlines[j] ) + "&lt;/td&gt;&lt;/tr&gt;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   260
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   261
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   262
			// matching line
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   263
			if ( i &lt; matching.length ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   264
				if ( matchtype[i] == 0 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   265
					output += "&lt;tr&gt;&lt;td&gt;" + repfunc( oldlines[i] ) + "&lt;/td&gt;&lt;td width='1' bgColor='black'&gt;&lt;/td&gt;" +
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   266
							  "&lt;td&gt;" + repfunc( newlines[matching[i]] ) + "&lt;/td&gt;&lt;/tr&gt;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   267
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   268
				else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   269
					output += "&lt;tr&gt;&lt;td bgColor='#ffff80'&gt;" + repfunc( oldlines[i] ) + "&lt;/td&gt;&lt;td width='1' bgColor='black'&gt;&lt;/td&gt;" +
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   270
							  "&lt;td bgColor='#ffff80'&gt;" + repfunc( newlines[matching[i]] ) + "&lt;/td&gt;&lt;/tr&gt;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   271
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   272
				lastA = i;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   273
				lastB = matching[i];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   274
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   275
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   276
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   277
	output += "&lt;/table&gt;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   278
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   279
	var backlink = document.getElementById("backlink");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   280
	if(backlink != null)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   281
	backlink.innerHTML = "Close diff view";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   282
	    
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   283
	var titleconent = document.getElementById("title");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   284
	if(titleconent != null)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   285
	titleconent.innerHTML = "Viewing diff between  " + diffFileName1 + "  and   " + diffFileName2;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   286
	      
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   287
  var diffconent = document.getElementById("diff");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   288
  if(diffconent != null)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   289
	diffconent.innerHTML = output;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   290
	     
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   291
  var backlink1 = document.getElementById("backlink1");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   292
  if(backlink1 != null)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   293
	backlink1.innerHTML = "Close diff view";  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   294
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   295
	if(backlink != null)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   296
	SetFocus(backlink);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   297
	  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   298
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   299
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   300
function repfunc( str )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   301
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   302
	if ( str.length &gt; 70 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   303
		str = str.substring(0,69) + "..."
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   304
	else if ( str.replace(/\s+/g,"").length == 0 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   305
		str = "&amp;nbsp;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   306
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   307
	return "&lt;nobr&gt;" + str.replace(/&lt;/g, "&amp;lt;").replace(/&gt;/g, "&amp;gt;").replace(/\s/g, "&amp;nbsp;") + "&lt;/nobr&gt;";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   308
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   309
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   310
function diff( o, n )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   311
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   312
	var olen = o.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   313
	var nlen = n.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   314
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   315
	var crcTable = new Array( 256 );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   316
	for ( i = 0; i &lt; 256; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   317
		crc = i;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   318
		for ( j = 8 ; j &gt; 0; j-- ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   319
			if ( crc &amp; 1 ) crc = ( crc &gt;&gt;&gt; 1 ) ^ 0xEDB88320;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   320
			else crc &gt;&gt;&gt;= 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   321
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   322
		crcTable[i] = crc;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   323
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   324
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   325
	var aHash = new Array( olen );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   326
	for ( i = 0; i &lt; olen; ++i ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   327
		str = o[i].replace(/^\s+/, "").replace(/\s+$/, "");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   328
		crc = 0xFFFFFFFF;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   329
		for ( k = 0; k &lt; str.length; ++k )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   330
			crc = crcTable[ ( crc &amp; 0xff ) ^ str.charCodeAt(k) ] ^ ( crc &gt;&gt;&gt; 8 );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   331
		aHash[i] = crc ^ 0xFFFFFFFF;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   332
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   333
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   334
	var bHash = new Array( nlen );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   335
	for ( i = 0; i &lt; nlen; ++i ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   336
		str = n[i].replace(/^\s+/, "").replace(/\s+$/, "");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   337
		crc = 0xFFFFFFFF;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   338
		for ( k = 0; k &lt; str.length; ++k )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   339
			crc = crcTable[ ( crc &amp; 0xff ) ^ str.charCodeAt(k) ] ^ ( crc &gt;&gt;&gt; 8 );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   340
		bHash[i] = crc ^ 0xFFFFFFFF;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   341
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   342
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   343
	matches = lcs( aHash, bHash, 0 ).matching;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   344
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   345
	for ( i = 0; i &lt; olen; ++i )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   346
		if ( matches[i] != -1 &amp;&amp; o[i].replace(/^\s+/, "").replace(/\s+$/, "") != n[matches[i]].replace(/^\s+/, "").replace(/\s+$/, "") )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   347
			matches[i] = -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   348
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   349
	matchtype = new Array ( olen );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   350
	for ( i = 0; i &lt; olen; ++i )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   351
		matchtype[i] = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   352
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   353
	olast = -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   354
	nlast = -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   355
	for ( oline = 0; oline &lt;= olen; ++oline ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   356
		setProgress( 75 + ( oline + 1 ) * 25 / ( olen + 1 ) );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   357
		if ( oline == olen || matches[oline] != -1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   358
			if ( oline &lt; olen )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   359
				nline = matches[oline];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   360
			else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   361
				nline = nlen;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   362
			for ( ocurrent = olast + 1; ocurrent &lt; oline; ++ocurrent ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   363
				for ( ncurrent = nlast + 1; ncurrent &lt; nline; ++ncurrent ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   364
					str1 = o[ocurrent];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   365
					str2 = n[ncurrent];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   366
					if ( ( pos = str1.lastIndexOf( "//" ) ) != -1 ) str1 = str1.substring( 0, pos );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   367
					if ( ( pos = str2.lastIndexOf( "//" ) ) != -1 ) str2 = str2.substring( 0, pos );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   368
					str1 = str1.replace( /\s+/g, " " );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   369
					str2 = str2.replace( /\s+/g, " " );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   370
					if ( str1.length == 0 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   371
						if ( str2.replace(/\s/g, "").length == 0 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   372
							break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   373
						else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   374
							continue;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   375
					}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   376
					else if ( str2.length == 0 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   377
						if ( str1.replace( /\s/g, "" ).length == 0 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   378
							break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   379
						else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   380
							continue;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   381
					}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   382
					if ( str1.length &lt; str2.length / 3 || str2.length &lt; str1.length / 3 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   383
						continue;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   384
					matchlen = lcs( str1, str2, 1 ).length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   385
					if ( matchlen &gt;= str1.length * 4 / 5 || matchlen &gt;= str2.length * 4 / 5 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   386
						break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   387
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   388
				if ( ncurrent &lt; nline ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   389
					matches[ocurrent] = ncurrent;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   390
					matchtype[ocurrent] = 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   391
					nlast = ncurrent;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   392
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   393
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   394
			if ( oline &lt; olen ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   395
				olast = oline;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   396
				nlast = nline;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   397
				matchtype[oline] = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   398
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   399
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   400
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   401
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   402
	return { matching: matches, matchtype: matchtype };
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   403
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   404
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   405
function lcs( A, B, valueType )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   406
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   407
	m = A.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   408
	n = B.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   409
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   410
	V = new Array( n );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   411
	if ( valueType == 0 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   412
		for ( i = 0; i &lt; n; ++i )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   413
			V[i] = { pos: i, value: B[i] };
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   414
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   415
	else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   416
		for ( i = 0; i &lt; n; ++i )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   417
			V[i] = { pos: i, value: B.charCodeAt(i) };
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   418
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   419
	V.sort( sortByValue );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   420
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   421
	E = new Array( n + 1 );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   422
	E[0] = { pos: -1, last: true};
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   423
	for ( i = 0; i &lt; n; ++i )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   424
		E[i+1] = { pos: V[i].pos, last: ( i == n-1 || V[i].value != V[i+1].value ) };
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   425
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   426
	P = new Array( m );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   427
	for ( i = 0; i &lt; m; ++i ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   428
		var idx;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   429
		var val = ( valueType == 0 ? A[i] : A.charCodeAt(i) );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   430
		for ( min = 0, max = n-1, idx = ( n - 1 ) &gt;&gt; 1; true; idx = ( min + max ) &gt;&gt; 1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   431
			if ( val &lt; V[idx].value )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   432
				max = idx - 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   433
			else if ( val &gt; V[idx].value )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   434
				min = idx + 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   435
			else if ( !E[idx].last )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   436
				max = idx - 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   437
			else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   438
				break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   439
			if ( min &gt; max )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   440
				break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   441
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   442
		if ( val == V[idx].value &amp;&amp; E[idx].last )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   443
			P[i] = idx;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   444
		else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   445
			P[i] = -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   446
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   447
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   448
	K = new Array( Math.min( m, n ) + 2 );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   449
	K[0] = new candidate( -1, -1, null );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   450
	K[1] = new candidate( m, n, null );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   451
	k = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   452
	for ( i = 0; i &lt; m; ++i ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   453
		if ( valueType == 0 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   454
			setProgress( ( i + 1 ) * 75 / ( m + 1 ) );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   455
		if ( P[i] != -1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   456
			r = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   457
			c = K[0];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   458
			p = P[i] + 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   459
			var s;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   460
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   461
			while ( true ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   462
				j = E[p].pos;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   463
				for ( min = r, max = k, s = ( r + k ) &gt;&gt; 1; true; s = ( min + max ) &gt;&gt; 1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   464
					if ( j &lt; K[s].b )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   465
						max = s - 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   466
					else if ( j &gt; K[s + 1].b )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   467
						min = s + 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   468
					else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   469
						break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   470
					if ( min &gt; max )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   471
						break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   472
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   473
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   474
				if ( j &gt; K[s].b &amp;&amp; j &lt; K[s + 1].b ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   475
					temp = new candidate( i, j, K[s] );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   476
					K[r] = c;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   477
					c = temp;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   478
					r = s + 1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   479
					if ( s == k ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   480
						K[k + 2] = K[k + 1];
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   481
						++k;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   482
						break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   483
					}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   484
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   485
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   486
				if ( E[p].last )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   487
					break;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   488
				++p;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   489
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   490
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   491
			K[r] = c;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   492
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   493
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   494
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   495
	J = new Array( m );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   496
	len = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   497
	for ( i = 0; i &lt; m; ++i )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   498
		J[i] = -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   499
	for ( c = K[k]; c.a != -1; c = c.previous, ++len ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   500
		J[c.a] = c.b;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   501
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   502
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   503
	return { matching: J, length: len };
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   504
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   505
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   506
function candidate( a, b, previous )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   507
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   508
  this.a = a;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   509
  this.b = b;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   510
  this.previous = previous;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   511
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   512
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   513
function sortByValue( a, b )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   514
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   515
  ret = a.value - b.value;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   516
  return ( ret != 0 ? ret : a.pos - b.pos );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   517
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   518
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   519
function pw() {return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   520
function mouseX(evt) {return evt.clientX ? evt.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft) : evt.pageX;}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   521
function mouseY(evt) {return evt.clientY ? evt.clientY + (document.documentElement.scrollTop || document.body.scrollTop) : evt.pageY}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   522
function popUp(evt,oi) 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   523
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   524
	if (document.getElementById)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   525
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   526
		var wp = pw();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   527
		dm = document.getElementById(oi);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   528
		ds = dm.style; st = ds.visibility;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   529
		if (dm.offsetWidth)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   530
			ew = dm.offsetWidth;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   531
		else if (dm.clip.width)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   532
			ew = dm.clip.width;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   533
		if (st == "visible" || st == "show")
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   534
		{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   535
			ds.visibility = "hidden";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   536
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   537
		else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   538
		{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   539
			tv = mouseY(evt) - 40;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   540
			lv = mouseX(evt) + (ew/8);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   541
			if (2 > lv)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   542
				lv = 2;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   543
			else if (lv + ew > wp) lv -= ew/2;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   544
			lv += 'px';
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   545
			tv += 'px'; 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   546
			ds.left = lv;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   547
			ds.top = tv;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   548
			ds.visibility = "visible";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   549
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   550
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   551
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   552
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   553
function getIssueTableIdx( aRepBlock )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   554
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   555
	var len = aRepBlock.getElementsByTagName("table").length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   556
	if( len &gt; 0 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   557
		var aTable = aRepBlock.getElementsByTagName("table");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   558
		for( i = 0; i &lt; len; i++) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   559
			if( aTable[i].id == "issueTable" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   560
				return i;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   561
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   562
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   563
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   564
	return -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   565
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   566
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   567
function getSeverityColIdx(aVal, tdNodes)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   568
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   569
	if( tdNodes.length &gt; 0 )
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   570
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   571
		for( i = 0 ; i &lt; tdNodes.length; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   572
			if( tdNodes[i].id == aVal ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   573
			    return i;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   574
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   575
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   576
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   577
	return -1;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   578
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   579
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   580
function showAllIssues( aRepBlock, n, tableIdx, x, y)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   581
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   582
	for( i = 0; i &lt; n; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   583
		// getting row that displays information
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   584
		aTr = aRepBlock[i].getElementsByTagName("table")[tableIdx].getElementsByTagName("tr");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   585
		nTr = aTr.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   586
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   587
		for( j = 0; j &lt; nTr ; j++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   588
			aTr[j].style.display = ""; //unhide row
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   589
			aTr[j].childNodes[x].style.display = ""; //unhide BC column
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   590
			aTr[j].childNodes[y].style.display = ""; //unhide SC column
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   591
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   592
		aRepBlock[i].style.display = ""; //unhide Report Block
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   593
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   594
	return true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   595
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   596
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   597
function hideIssues(aRepBlock, n, tableIdx, x, y)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   598
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   599
	var rtn = false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   600
	for( i = 0; i &lt; n; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   601
		// getting row that displays information
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   602
		aTr = aRepBlock[i].getElementsByTagName("table")[tableIdx].getElementsByTagName("tr");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   603
		nTr = aTr.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   604
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   605
		// hiding header row
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   606
		aTr[0].childNodes[x].style.display = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   607
		aTr[0].childNodes[y].style.display = "none";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   608
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   609
		hideBlock = 1; // flag for hiding the report block
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   610
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   611
		for( j = 1; j &lt; nTr; j++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   612
			// hiding row if "None"
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   613
			if( aTr[j].childNodes[x].innerHTML == "None" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   614
				aTr[j].style.display = "none";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   615
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   616
			else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   617
				// else hiding column only
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   618
				aTr[j].childNodes[x].style.display = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   619
				aTr[j].childNodes[y].style.display = "none";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   620
				aTr[j].style.display = "";		// unhiding row if it was hidden
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   621
				hideBlock = 0;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   622
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   623
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   624
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   625
		if( hideBlock == 1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   626
			aRepBlock[i].style.display = "none";		// hiding entire "Report Block"
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   627
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   628
		else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   629
			aRepBlock[i].style.display = "";				// unhiding entire "Report Block"
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   630
			rtn = true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   631
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   632
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   633
	return rtn;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   634
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   635
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   636
function isGrpNull(aNode) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   637
	if( aNode.firstChild.firstChild.firstChild.innerHTML == null ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   638
		return true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   639
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   640
	return false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   641
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   642
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   643
function isExpand(aNode)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   644
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   645
	if (aNode.firstChild.firstChild.firstChild.innerHTML.charAt(0) == "-") {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   646
		return true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   647
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   648
	return false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   649
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   650
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   651
function showGrp (aNode,bVal)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   652
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   653
	if (bVal) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   654
		if (!isGrpNull(aNode) &amp;&amp; isExpand(aNode)) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   655
			aNode.nextSibling.style.display = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   656
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   657
		aNode.style.display = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   658
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   659
	else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   660
		aNode.style.display = "none";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   661
		aNode.nextSibling.style.display = "none";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   662
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   663
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   664
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   665
function selectIssue2 (aRepBlock, aVal) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   666
	if(aRepBlock ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   667
		if( aRepBlock.length > 0 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   668
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   669
			tableIdx = getIssueTableIdx(aRepBlock[0]);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   670
			if( tableIdx == -1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   671
				alert("Error: Table of issue details not found.\nPossibly change in HTML!");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   672
				return true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   673
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   674
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   675
			// these values are set considering BC Break as default
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   676
			var bc = getSeverityColIdx("BCSeverity", aRepBlock[0].getElementsByTagName("table")[tableIdx].getElementsByTagName("tr")[0].childNodes),
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   677
			    sc = getSeverityColIdx("SCSeverity", aRepBlock[0].getElementsByTagName("table")[tableIdx].getElementsByTagName("tr")[0].childNodes);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   678
			    
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   679
			if( bc == -1 || sc == -1 ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   680
				alert("Error: BC/SC Severity column not found.\nPossibly change in HTML!");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   681
				return true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   682
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   683
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   684
			if ( aVal == "All" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   685
			// if user selects All, show everything
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   686
				return showAllIssues( aRepBlock, aRepBlock.length, tableIdx, bc, sc );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   687
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   688
			else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   689
				// code if user selects BC or SC
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   690
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   691
				if ( aVal == "SC Break" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   692
					return hideIssues(aRepBlock, aRepBlock.length, tableIdx, sc, bc); // changing rows id if its a SC Break
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   693
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   694
				else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   695
					return hideIssues(aRepBlock, aRepBlock.length, tableIdx, bc, sc);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   696
				}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   697
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   698
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   699
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   700
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   701
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   702
function selectIssue( aVal ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   703
<xsl:if test="$paramSort=3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   704
	if(aVal == 'BC Break')
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   705
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   706
		var grps = document.getElementsByName("issBC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   707
		var len = grps.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   708
		for ( var i = 0; i &lt; len; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   709
			showGrp(grps[i], true);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   710
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   711
		grps = document.getElementsByName("issSC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   712
		len = grps.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   713
		for ( var i = 0; i &lt; len; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   714
			showGrp(grps[i], false);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   715
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   716
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   717
	else if(aVal == 'SC Break')
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   718
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   719
		var grps = document.getElementsByName("issBC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   720
		var len = grps.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   721
		for ( var i = 0; i &lt; len; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   722
			showGrp(grps[i], false);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   723
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   724
		grps = document.getElementsByName("issSC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   725
		len = grps.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   726
		for ( var i = 0; i &lt; len; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   727
			showGrp(grps[i], true);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   728
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   729
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   730
	else
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   731
	{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   732
		var grps = document.getElementsByName("issBC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   733
		var len = grps.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   734
		for ( var i = 0; i &lt; len; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   735
			showGrp(grps[i], true);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   736
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   737
		grps = document.getElementsByName("issSC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   738
		len = grps.length;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   739
		for ( var i = 0; i &lt; len; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   740
			showGrp(grps[i], true);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   741
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   742
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   743
	chkExpandAnc();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   744
</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   745
<xsl:if test="$paramSort=1 or $paramSort=2">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   746
	var grps = document.getElementsByName("issGrp");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   747
	for (var i = 0; i &lt; grps.length; i++) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   748
		var divs = grps[i].nextSibling.firstChild.childNodes;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   749
		if (selectIssue2(divs, aVal)) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   750
			grps[i].style.display = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   751
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   752
		else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   753
			grps[i].style.display = "none";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   754
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   755
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   756
	chkExpandAnc();	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   757
</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   758
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   759
		// get "Report Blocks" in array
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   760
		aRepBlock = document.getElementsByName(repBlk);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   761
		selectIssue2 (aRepBlock, aVal);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   762
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   763
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   764
function isAllExpand(grpV) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   765
	var grps = document.getElementsByName(grpV);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   766
	for( var i = 0; i &lt; grps.length; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   767
		if ( !isGrpNull(grps[i]) &amp;&amp; !isExpand(grps[i])) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   768
			return false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   769
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   770
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   771
	return true;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   772
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   773
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   774
function expandGrp(aBool,grpV) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   775
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   776
	var grps = document.getElementsByName(grpV);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   777
	for( var i = 0; i &lt; grps.length; i++ ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   778
		if ( !isGrpNull(grps[i]) &amp;&amp; (aBool &amp;&amp; !isExpand(grps[i]) || !aBool &amp;&amp; isExpand(grps[i]))) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   779
			toggleIWView2(grpV+(i+1));
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   780
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   781
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   782
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   783
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   784
function setExpandAnc(cn) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   785
	if (cn) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   786
		document.getElementById("expandAnc").innerHTML = "Expand All";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   787
	} else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   788
		document.getElementById("expandAnc").innerHTML = "Collapse All";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   789
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   790
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   791
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   792
function toggleExpand()
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   793
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   794
	var cn = document.getElementById("expandAnc").innerHTML == "Expand All";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   795
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   796
<xsl:if test="$paramSort=3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   797
	if (document.getElementById("issueDropD").value != "SC Break") {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   798
		expandGrp(cn,"issBC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   799
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   800
	if (document.getElementById("issueDropD").value != "BC Break") {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   801
		expandGrp(cn,"issSC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   802
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   803
</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   804
<xsl:if test="$paramSort!=3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   805
		expandGrp(cn,"issGrp");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   806
</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   807
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   808
	setExpandAnc(!cn);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   809
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   810
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   811
function toggleIWView2(aVal)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   812
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   813
	if( document.getElementById(aVal+"dtl").style.display == "none" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   814
		document.getElementById(aVal).innerHTML = "- "+document.getElementById(aVal).innerHTML.substring(2);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   815
		document.getElementById(aVal+"dtl").style.display = "";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   816
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   817
	else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   818
		document.getElementById(aVal).innerHTML = "+ "+document.getElementById(aVal).innerHTML.substring(2);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   819
		document.getElementById(aVal+"dtl").style.display = "none";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   820
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   821
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   822
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   823
function chkExpandAnc() {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   824
<xsl:if test="$paramSort=3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   825
		var cn = false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   826
		if (document.getElementById("issueDropD").value != "SC Break") {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   827
			cn = !isAllExpand("issBC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   828
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   829
		if (document.getElementById("issueDropD").value != "BC Break") {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   830
			if (!cn) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   831
				cn = !isAllExpand("issSC");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   832
			}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   833
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   834
</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   835
<xsl:if test="$paramSort!=3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   836
		var cn = !isAllExpand("issGrp");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   837
</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   838
	setExpandAnc(cn);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   839
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   840
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   841
function toggleIWView(aVal)
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   842
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   843
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   844
	toggleIWView2(aVal);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   845
	chkExpandAnc();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   846
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   847
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   848
function changeSort()
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   849
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   850
	loadXML();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   851
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   852
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   853
function loadXML() {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   854
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   855
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   856
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   857
		var objXSLT = new ActiveXObject("MSXML2.FreeThreadedDomDocument");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   858
		objXSLT.async = false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   859
		objXSLT.load("BBCResults.xsl");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   860
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   861
		var objCompiled = new ActiveXObject("MSXML2.XSLTemplate");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   862
		objCompiled.stylesheet = objXSLT.documentElement;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   863
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   864
		var objXSLProc = objCompiled.createProcessor();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   865
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   866
		var objXML = new ActiveXObject("MSXML2.FreeThreadedDomDocument");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   867
		objXML.async = false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   868
		objXML.load(document.URL);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   869
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   870
		objXSLProc.input = objXML;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   871
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   872
		eval(objXSLProc.addParameter("paramSort", document.getElementById("sortDropD").value));
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   873
<!--
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   874
		eval(objXSLProc.addParameter("paramIssu",document.getElementById("issueDropD").value));
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   875
		if( document.getElementById('sd').style.display != "none" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   876
			eval(objXSLProc.addParameter("paramShowOk", "1"));
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   877
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   878
-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   879
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   880
		objXSLProc.transform();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   881
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   882
		document.write(objXSLProc.output);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   883
		document.close();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   884
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   885
	else if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ //test for Firefox/x.x or Firefox 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   886
		var oXmlDom = document.implementation.createDocument("", "", null);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   887
		oXmlDom.async = false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   888
		var oXslDom = document.implementation.createDocument("", "", null);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   889
		oXslDom.async = false;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   890
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   891
		oXmlDom.load(document.URL);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   892
		oXslDom.load("BBCResults.xsl");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   893
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   894
		var oProcessor = new XSLTProcessor()
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   895
		oProcessor.importStylesheet(oXslDom);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   896
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   897
		oProcessor.setParameter(null, "paramSort", document.getElementById("sortDropD").value);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   898
<!--
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   899
		oProcessor.setParameter(null, "paramIssu",document.getElementById("issueDropD").value);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   900
		if( document.getElementById('sd').style.display != "none" ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   901
			oProcessor.setParameter(null, "paramShowOk", "1");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   902
		}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   903
-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   904
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   905
		var oResultDom = oProcessor.transformToDocument(oXmlDom);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   906
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   907
		var serializer = new XMLSerializer();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   908
		var xml = serializer.serializeToString(oResultDom);
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   909
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   910
		document.write(xml.replace(/&amp;gt;/g,"&gt;").replace(/&amp;lt;/g,"&lt;").replace(/&amp;amp;/g,"&amp;"));
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   911
		document.close();
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   912
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   913
	else {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   914
		alert("Un supported browser");
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   915
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   916
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   917
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   918
function init()
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   919
{
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   920
	document.getElementById("sortDropD").value = "<xsl:value-of select='$paramSort' />";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   921
	document.getElementById("issueDropD").value = "<xsl:value-of select='$paramIssu' />";
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   922
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   923
	if( document.getElementById("issueDropD").value != 'All' ) {
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   924
		selectIssue( document.getElementById("issueDropD").value );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   925
	}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   926
<!--
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   927
	<xsl:if test="$paramShowOk = 1">switchMenu('sd');</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   928
-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   929
}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   930
</script>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   931
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   932
<style type="text/css">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   933
                    div.tip {font:12px/14px
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   934
                    Arial,Helvetica,sans-serif; border:solid 1px
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   935
                    #666666; width:270px; padding:1px;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   936
                    position:absolute; z-index:100;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   937
                    visibility:hidden; color:#333333; top:20px;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   938
                    left:90px; background-color:#ffffcc;
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   939
                    layer-background-color:#ffffcc;}
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   940
</style>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   941
</HEAD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   942
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   943
	<BODY bgColor="#f8f8f8" onLoad="init();">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   944
		<font size="4"><a id ="backlink" onclick="switchBacklink('dl');" href=""></a></font><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   945
	    <ul id="dl" style="display:none">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   946
	      <a name="back"></a>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   947
	    </ul>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   948
	    	          
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   949
	  <font size="4"><a id ="title"></a></font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   950
	    <ul id="dl" style="display:none">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   951
	      <a name="title"></a>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   952
	    </ul>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   953
	          
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   954
	  <font size="2"><a id ="diff"></a></font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   955
	    <ul id="dl" style="display:none">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   956
	      <a name="diff"></a>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   957
	    </ul>	          
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   958
	          
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   959
    <font size="4"><a id ="backlink1" onclick="switchBacklink('dl');" href=""></a></font><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   960
	    <ul id="dl" style="display:none">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   961
	      <a name="back"></a>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   962
	    </ul>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   963
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   964
		<font size="5">Binary Compatibility Open Issues</font><HR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   965
		<xsl:if test="$reporttype!='NON'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   966
			<table border="0" width="100%"><tr><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   967
					<table border="0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   968
						<tr><td><b>Sort by</b></td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   969
						<td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   970
							<select id="sortDropD" onchange="changeSort()">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   971
								<option value="0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   972
									<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   973
								<xsl:when test="$reporttype='HDR'">Header Names</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   974
								<xsl:otherwise>Library Names</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   975
								</xsl:choose></option>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   976
				<xsl:if test="$show_API = 1">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   977
								<option value="1">API Name</option>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   978
								<option value="2">Category Name</option>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   979
				</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   980
								<option value="3">Issue Severity</option>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   981
							</select>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   982
						</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   983
						<tr><td><b>Issue Type</b></td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   984
						<td><select id="issueDropD" onchange="selectIssue(this.value)">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   985
								<option value="All">All</option>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   986
								<option value="BC Break">BC Break</option>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   987
								<option value="SC Break">SC Break</option>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   988
							</select>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   989
						</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   990
					</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   991
				</td><td align="right" valign="bottom">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   992
					<xsl:attribute name="style">display:<xsl:if test="$paramSort=0">none</xsl:if></xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   993
					<font size="3"><a id="expandAnc" onclick="toggleExpand();return false;" href="#expandAnc">Expand All</a></font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   994
				</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   995
			</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   996
			<HR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   997
			<br/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   998
		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
   999
		<xsl:if test="$reporttype='NON'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1000
			<i>There are no issues.</i>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1001
		</xsl:if>	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1002
	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1003
		<xsl:when test="$paramSort=0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1004
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1005
		  <xsl:if test="$reporttype='LIB'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1006
		    <xsl:if test="count(bbcresults/issuelist/library[issue[(count(status)=0 or status!='OK') and typeid!=2 and typeid!=7 and typeid!=14]]) = 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1007
		      <i>There are no issues.</i><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1008
		    </xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1009
	    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status)=0 or status!='OK') and typeid!=2 and typeid!=7 and typeid!=14]]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1010
				<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1011
					<xsl:call-template name="LIBNotOK" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1012
				</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1013
		  </xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1014
		  <xsl:if test="$reporttype='HDR'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1015
		    <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK']) = 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1016
		      <i>There are no issues.</i><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1017
		    </xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1018
	    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1019
				<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1020
					<xsl:call-template name="HDRNotOK" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1021
				</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1022
		  </xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1023
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1024
		</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1025
		<xsl:when test="$paramSort=1 or $paramSort=2">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1026
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1027
	  <xsl:if test="$reporttype='LIB'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1028
	  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1029
	    <xsl:when test="count(bbcresults/issuelist/library[issue[(count(status)=0 or status!='OK') and typeid!=2 and typeid!=7 and typeid!=14]]) = 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1030
	      <i>There are no issues.</i><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1031
	    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1032
	    <xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1033
	  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1034
			  <table width="100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1035
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1036
		    	<xsl:for-each select="//library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and typeid!=7 and typeid!=14] and (($paramSort=1 and not(api/@name=preceding::api/@name)) or ($paramSort=2 and not(api/@category=preceding::api/@category)))]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1037
					<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1038
						<xsl:variable name="lbl">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1039
							<xsl:if test="$paramSort=1"><xsl:value-of select="api/@name"/></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1040
							<xsl:if test="$paramSort=2"><xsl:value-of select="api/@category"/></xsl:if>  </xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1041
						<xsl:variable name="grId">issGrp<xsl:value-of select="position()" /></xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1042
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1043
						<tr name="issGrp" id="issGrp"><td><font size="4"> <a><xsl:attribute name="onclick">toggleIWView('<xsl:value-of select="$grId"/>');return false;</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1044
							<xsl:attribute name="id"><xsl:value-of select="$grId"/></xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1045
							<xsl:attribute name="href">#<xsl:value-of select="$grId"/></xsl:attribute>+ <xsl:value-of select="$lbl"/></a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1046
						<tr style="display:none"><xsl:attribute name="id"><xsl:value-of select="$grId"/>dtl</xsl:attribute> <td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1047
					   	<xsl:for-each select="//library[(issue[(count(status) = 0 or status!='OK') and typeid!=2 and typeid!=7 and typeid!=14]) and (($paramSort=1 and api/@name=$lbl) or ($paramSort=2 and api/@category=$lbl))]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1048
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1049
									<xsl:call-template name="LIBNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1050
										<xsl:with-param name="issBCSC" select="'3'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1051
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1052
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1053
						</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1054
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1055
					</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1056
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1057
				</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1058
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1059
	   	</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1060
	  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1061
		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1062
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1063
	  <xsl:if test="$reporttype='HDR'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1064
	  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1065
	    <xsl:when test="count(bbcresults/issuelist/headerfile[status!='OK']) = 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1066
	      <i>There are no issues.</i><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1067
	    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1068
	    <xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1069
	  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1070
			  <table width="100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1071
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1072
		    	<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)))]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1073
					<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1074
						<xsl:variable name="lbl">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1075
							<xsl:if test="$paramSort=1"><xsl:value-of select="api/@name"/></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1076
							<xsl:if test="$paramSort=2"><xsl:value-of select="api/@category"/></xsl:if>  </xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1077
						<xsl:variable name="grId">issGrp<xsl:value-of select="position()" /></xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1078
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1079
						<tr name="issGrp" id="issGrp"><td><font size="4"> <a><xsl:attribute name="onclick">toggleIWView('<xsl:value-of select="$grId"/>');return false;</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1080
							<xsl:attribute name="id"><xsl:value-of select="$grId"/></xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1081
							<xsl:attribute name="href">#<xsl:value-of select="$grId"/></xsl:attribute>+ <xsl:value-of select="$lbl"/></a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1082
						<tr style="display:none"><xsl:attribute name="id"><xsl:value-of select="$grId"/>dtl</xsl:attribute> <td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1083
					   	<xsl:for-each select="//headerfile[status!='OK' and (($paramSort=1 and api/@name=$lbl) or ($paramSort=2 and api/@category=$lbl))]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1084
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1085
									<xsl:call-template name="HDRNotOK" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1086
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1087
						</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1088
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1089
					</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1090
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1091
				</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1092
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1093
	  	</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1094
	  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1095
		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1096
	</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1097
	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1098
	<xsl:when test="$paramSort=3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1099
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1100
	  <xsl:if test="$reporttype='LIB'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1101
	  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1102
	    <xsl:when test="count(bbcresults/issuelist/library[issue[(count(status)=0 or status!='OK') and typeid!=2]]) = 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1103
	      <i>There are no issues.</i><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1104
	    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1105
	    <xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1106
	    	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1107
				<table width="100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1108
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1109
							<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>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1110
							<tr id="issBC1dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1111
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and bc_severity='BBC Break']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1112
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1113
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1114
										<xsl:with-param name="issTyp" select="'BBC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1115
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1116
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1117
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1118
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1119
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1120
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC2');return false;" id="issBC2" href="#issBC2">+ FC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1121
							<tr id="issBC2dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1122
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and bc_severity='FC Break']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1123
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1124
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1125
										<xsl:with-param name="issTyp" select="'FC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1126
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1127
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1128
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1129
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1130
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1131
							<tr name="issSC" id="issSC"><td><font size="4"><a onclick="toggleIWView('issSC1');return false;" id="issSC1" href="#issSC1">+ SC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1132
							<tr id="issSC1dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1133
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and sc_severity='SC Break']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1134
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1135
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1136
										<xsl:with-param name="issTyp" select="'SC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1137
										<xsl:with-param name="issBCSC" select="'2'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1138
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1139
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1140
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1141
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1142
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC3');return false;" id="issBC3" href="#issBC3">+ Possible BBC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1143
							<tr id="issBC3dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1144
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and bc_severity='Possible BBC Break']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1145
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1146
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1147
										<xsl:with-param name="issTyp" select="'Possible BBC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1148
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1149
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1150
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1151
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1152
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1153
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC4');return false;" id="issBC4" href="#issBC4">+ Possible FC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1154
							<tr id="issBC4dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1155
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and bc_severity='Possible FC Break']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1156
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1157
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1158
										<xsl:with-param name="issTyp" select="'Possible FC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1159
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1160
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1161
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1162
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1163
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1164
							<tr name="issSC" id="issSC"><td><font size="4"><a onclick="toggleIWView('issSC2');return false;" id="issSC2" href="#issSC2">+ Possible SC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1165
							<tr id="issSC2dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1166
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and sc_severity='Possible SC Break']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1167
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1168
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1169
										<xsl:with-param name="issTyp" select="'Possible SC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1170
										<xsl:with-param name="issBCSC" select="'2'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1171
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1172
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1173
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1174
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1175
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC5');return false;" id="issBC5" href="#issBC5">+ BC Informative</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1176
							<tr id="issBC5dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1177
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and bc_severity='Informative']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1178
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1179
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1180
										<xsl:with-param name="issTyp" select="'Informative'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1181
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1182
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1183
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1184
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1185
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1186
							<tr name="issSC" id="issSC"><td><font size="4"><a onclick="toggleIWView('issSC3');return false;" id="issSC3" href="#issSC3">+ SC Informative</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1187
							<tr id="issSC3dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1188
					    	<xsl:for-each select="bbcresults/issuelist/library[issue[(count(status) = 0 or status!='OK') and typeid!=2 and sc_severity='Informative']]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1189
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1190
									<xsl:call-template name="LIBNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1191
										<xsl:with-param name="issTyp" select="'Informative'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1192
										<xsl:with-param name="issBCSC" select="'2'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1193
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1194
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1195
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1196
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1197
				</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1198
			</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1199
		</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1200
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1201
		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1202
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1203
	  <xsl:if test="$reporttype='HDR'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1204
	    <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK']) = 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1205
	      <i>There are no issues.</i><BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1206
	    </xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1207
	    <xsl:if test="count(bbcresults/issuelist/headerfile[status!='OK']) &gt; 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1208
				<table id="iwTable" name="iwTable" width="100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1209
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1210
							<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>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1211
							<tr id="issBC1dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1212
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/severity/typestring='BBC Break']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1213
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1214
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1215
										<xsl:with-param name="issTyp" select="'BBC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1216
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1217
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1218
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1219
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1220
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1221
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC2');return false;" id="issBC2" href="#issBC2">+ FC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1222
							<tr id="issBC2dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1223
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/severity/typestring='FC Break']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1224
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1225
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1226
										<xsl:with-param name="issTyp" select="'FC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1227
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1228
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1229
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1230
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1231
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1232
							<tr name="issSC" id="issSC"><td><font size="4"><a onclick="toggleIWView('issSC1');return false;" id="issSC1" href="#issSC1">+ SC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1233
							<tr id="issSC1dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1234
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/scseverity/typestring='SC Break']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1235
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1236
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1237
										<xsl:with-param name="issTyp" select="'SC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1238
										<xsl:with-param name="issBCSC" select="'2'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1239
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1240
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1241
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1242
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1243
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC3');return false;" id="issBC3" href="#issBC3">+ Possible BBC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1244
							<tr id="issBC3dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1245
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/severity/typestring='Possible BBC Break']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1246
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1247
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1248
										<xsl:with-param name="issTyp" select="'Possible BBC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1249
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1250
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1251
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1252
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1253
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1254
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC4');return false;" id="issBC4" href="#issBC4">+ Possible FC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1255
							<tr id="issBC4dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1256
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/severity/typestring='Possible FC Break']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1257
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1258
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1259
										<xsl:with-param name="issTyp" select="'Possible FC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1260
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1261
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1262
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1263
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1264
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1265
							<tr name="issSC" id="issSC"><td><font size="4"><a onclick="toggleIWView('issSC2');return false;" id="issSC2" href="#issSC2">+ Possible SC Break</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1266
							<tr id="issSC2dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1267
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/scseverity/typestring='Possible SC Break']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1268
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1269
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1270
										<xsl:with-param name="issTyp" select="'Possible SC Break'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1271
										<xsl:with-param name="issBCSC" select="'2'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1272
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1273
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1274
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1275
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1276
							<tr name="issBC" id="issBC"><td><font size="4"><a onclick="toggleIWView('issBC5');return false;" id="issBC5" href="#issBC5">+ BC Informative</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1277
							<tr id="issBC5dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1278
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/severity/typestring='Informative']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1279
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1280
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1281
										<xsl:with-param name="issTyp" select="'Informative'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1282
										<xsl:with-param name="issBCSC" select="'1'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1283
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1284
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1285
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1286
						
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1287
							<tr name="issSC" id="issSC"><td><font size="4"><a onclick="toggleIWView('issSC3');return false;" id="issSC3" href="#issSC3">+ SC Informative</a></font></td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1288
							<tr id="issSC3dtl" style="display:none"><td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1289
					    	<xsl:for-each select="bbcresults/issuelist/headerfile[status!='OK' and issue/scseverity/typestring='Informative']">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1290
								<xsl:sort select="*[name()=$sort1]/@name | *[name()=$sort2]/@category | *[name()=$sort0]" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1291
									<xsl:call-template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1292
										<xsl:with-param name="issTyp" select="'Informative'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1293
										<xsl:with-param name="issBCSC" select="'2'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1294
									</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1295
								</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1296
							</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1297
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1298
				</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1299
			</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1300
		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1301
	</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1302
	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1303
<hr/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1304
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1305
</BODY>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1306
</HTML>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1307
</xsl:template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1308
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1309
	<xsl:template name="HDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1310
		<xsl:param name="issTyp" select="-1" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1311
		<xsl:param name="issBCSC" select="'0'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1312
		<div id="repBlock" name="repBlock">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1313
			<table width="100%" cellspacing="0" cellpadding="0" border="0" style="visibility:visible">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1314
			<tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1315
				<td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1316
			<table cellspacing="0" cellpadding="0" border="0" style="visibility:visible">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1317
			<tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1318
				<td colspan="3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1319
			  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1320
		  			<xsl:when test="$paramSort = 0 and $show_API=1"><font size="4"><b><xsl:value-of select="shortname"/></b></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1321
		  			<xsl:otherwise><font size="4"><xsl:value-of select="shortname"/></font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1322
			  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1323
			  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1324
			</tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1325
		<xsl:if test="$show_API=1">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1326
			<tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1327
				<td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1328
			  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1329
		  			<xsl:when test="$paramSort = 1"><font size="4"><b><i><xsl:value-of select="api/@name"/></i></b></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1330
		  			<xsl:otherwise><font size="3"><i><xsl:value-of select="api/@name"/></i></font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1331
			  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1332
			  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1333
			  <td width="30" align="center"><font size="3"><b>:</b></font></td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1334
				<td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1335
			  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1336
		  			<xsl:when test="$paramSort = 2"><font size="4"><b><i><xsl:value-of select="api/@category"/></i></b></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1337
		  			<xsl:otherwise><font size="3"><i><xsl:value-of select="api/@category"/></i></font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1338
			  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1339
			  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1340
			</tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1341
		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1342
		</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1343
				</td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1344
			  <td valign="bottom" align="right">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1345
						<A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1346
							<xsl:attribute name="href">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1347
							  javascript:showFile( '<xsl:value-of select="translate(filename, '\\', '/')"/>', null );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1348
							</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1349
							<xsl:if test="filename != ''">baseline</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1350
						</A>		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1351
			<xsl:if test="filename = ''"><font color="#808080">baseline</font></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1352
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1353
			<font size="3"> . </font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1354
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1355
						<A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1356
							<xsl:attribute name="href">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1357
							  javascript:showFile( null, '<xsl:value-of select="translate(comparefilename, '\\', '/')"/>' );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1358
							</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1359
							<xsl:if test="comparefilename != ''">current</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1360
						</A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1361
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1362
			<xsl:if test="comparefilename = ''"><font color="#808080">current</font></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1363
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1364
			<font size="3"> . </font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1365
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1366
			<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1367
			  <xsl:when test="filename != '' and comparefilename != ''">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1368
			    <A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1369
						<xsl:attribute name="href">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1370
							javascript:showDiff( '<xsl:value-of select="translate(shortname, '\\', '/')"/>', '<xsl:value-of select="translate(filename, '\\', '/')"/>', '<xsl:value-of select="translate(comparefilename, '\\', '/')"/>' );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1371
						</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1372
						diff
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1373
			    </A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1374
			  </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1375
				<xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1376
			    <font color="#808080">diff</font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1377
				</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1378
			</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1379
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1380
			</td></tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1381
			</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1382
			<table border="0" cellpadding="2" cellspacing="0" bgColor="black" width = "100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1383
			<TR><TD><table border="0" cellspacing="0" cellpadding="3" width = "100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1384
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1385
			<TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1386
         <xsl:attribute name="bgColor">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1387
			    <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1388
			      <xsl:when test="status = 'OK'">#a8d098</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1389
			      <xsl:otherwise>#d0c8c0</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1390
			    </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1391
			  </xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1392
			<TD align="left">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1393
			<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1394
			    <xsl:when test="status = 'NOK'"><b>This header contains changes that cause incompatibility. It must be fixed.</b></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1395
			    <xsl:when test="status = 'MOK'"><b>This header contains changes that cannot be verified automatically; they must be investigated manually.</b></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1396
			    <xsl:when test="status = 'OK'"><b>This header is known to be ok.</b></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1397
			    <xsl:when test="status = 'IOK'"><b>This issue is known to be ok. But the header contains other unrelated changes.</b></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1398
				<xsl:otherwise><b>This header contains changes that may cause incompatibility. It must be analysed by an expert.</b></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1399
			</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1400
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1401
			<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1402
			    <xsl:when test="status = 'NOK' or status = 'MOK' or status = 'OK' or status = 'IOK'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1403
			      <HR/><xsl:value-of select="comment"/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1404
				</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1405
			</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1406
			</TD></TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1407
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1408
			</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1409
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1410
				<table width="100%" cellpadding="0" cellspacing="0" bgColor="black" height="1"><tr><td/></tr></table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1411
				<table width = "100%" cellpadding="0" cellspacing="0" bgColor="#b0a8a0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1412
				<tr><td><table width = "100%" cellpadding="3" cellspacing="1"  id="issueTable">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1413
				<tr bgcolor="#f0e8e0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1414
				<TH align="left" width = "350"><B>Problem description</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1415
				<TH align="left"><B>Cause</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1416
				<TH align="left" width = "150" id="BCSeverity">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1417
					<xsl:if test="$issBCSC=2"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1418
					<B>BC Severity</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1419
				<xsl:if test="count(issue/scseverity) &gt; 0">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1420
				  <TH align="left" width = "150" id="SCSeverity">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1421
				  	<xsl:if test="$issBCSC=1"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1422
				  	<B>SC Severity</B></TH>		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1423
				</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1424
				<TH align="center" width="100"><B>Date added</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1425
				<TH align="center" width="100"><B>Bugzilla id</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1426
				<TH align="center" width="100"><B>Status</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1427
				</tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1428
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1429
				<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1430
					<xsl:when test="$issBCSC='0'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1431
						<xsl:for-each select="issue">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1432
							<xsl:call-template name="issHDRNotOK" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1433
						</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1434
					</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1435
					<xsl:when test="$issBCSC='1'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1436
						<xsl:for-each select="issue[severity/typestring=$issTyp]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1437
							<xsl:call-template name="issHDRNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1438
								<xsl:with-param name="issBCSC" select="$issBCSC" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1439
							</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1440
						</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1441
					</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1442
					<xsl:when test="$issBCSC='2'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1443
						<xsl:for-each select="issue[scseverity/typestring=$issTyp]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1444
							<xsl:call-template name="issHDRNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1445
								<xsl:with-param name="issBCSC" select="$issBCSC" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1446
							</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1447
						</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1448
					</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1449
				</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1450
				</table></td></tr></table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1451
			</TD></TR></table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1452
			<BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1453
			</div>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1454
		</xsl:template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1455
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1456
	<xsl:template name="issHDRNotOK" >
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1457
		<xsl:param name="issBCSC" select="'0'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1458
				<xsl:variable name="bccellbgcolour">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1459
				<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1460
				<xsl:when test="count(scseverity) &gt; 0">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1461
				  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1462
					  <xsl:when test="severity/typeid = 1 or severity/typeid = 4"><xsl:text>#ffb880</xsl:text></xsl:when>			   
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1463
					  <xsl:when test="severity/typeid = 2 or severity/typeid = 5"><xsl:text>#ffffa0</xsl:text></xsl:when>			  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1464
				    <xsl:otherwise><xsl:text>White</xsl:text></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1465
				  </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1466
				</xsl:when>			  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1467
				<xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1468
				  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1469
				    <xsl:when test="severity/typeid = 0"><xsl:text>#ffb880</xsl:text></xsl:when>			   
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1470
				    <xsl:when test="severity/typeid = 1"><xsl:text>#ffffa0</xsl:text></xsl:when>			  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1471
				    <xsl:otherwise><xsl:text>White</xsl:text></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1472
				  </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1473
				</xsl:otherwise> 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1474
				</xsl:choose> 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1475
				</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1476
				    
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1477
				<xsl:variable name="sccellbgcolour">		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1478
				  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1479
				    <xsl:when test="scseverity/typeid = 1"><xsl:text>#ffb880</xsl:text></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1480
					  <xsl:when test="scseverity/typeid = 2"><xsl:text>#ffffa0</xsl:text></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1481
					  <xsl:otherwise><xsl:text>White</xsl:text></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1482
				  </xsl:choose>				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1483
				</xsl:variable>				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1484
         
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1485
		        <TR bgcolor= "White">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1486
			    <xsl:variable name = "notSpecified">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1487
					<xsl:text>Not specified</xsl:text>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1488
				</xsl:variable>	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1489
				<xsl:variable name = "valueFromDocument">					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1490
					<xsl:value-of select="documentation" />					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1491
				</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1492
				<xsl:variable name="global">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1493
					<xsl:value-of select="identitydescription"/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1494
					<xsl:text> </xsl:text>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1495
					<xsl:value-of select="typestring"/>										
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1496
				</xsl:variable>				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1497
				<TD><xsl:value-of select="$global"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1498
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1499
				<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1500
					<xsl:when test = "typeid = 13 and identityid = 13">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1501
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1502
						<xsl:variable name="compErrID">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1503
							<xsl:text>err</xsl:text><xsl:value-of select="issueid" />							
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1504
						</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1505
					
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1506
						<TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1507
							<div>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1508
								<xsl:attribute name="id"><xsl:value-of select="$compErrID" /></xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1509
								<xsl:attribute name="class">tip</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1510
								<xsl:value-of select="compilationerror"/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1511
							</div>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1512
							
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1513
							<a>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1514
								<xsl:attribute name="href">#</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1515
								<xsl:attribute name="onmouseout">popUp(event,'<xsl:value-of select="$compErrID"/>')</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1516
								<xsl:attribute name="onmouseover">popUp(event,'<xsl:value-of select="$compErrID"/>')</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1517
								<xsl:attribute name="onclick">return false</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1518
								<font color="#FF0000">Compilation Error</font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1519
							</a>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1520
						</TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1521
					</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1522
					<xsl:when test = "contains($valueFromDocument, $notSpecified)">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1523
						<TD><xsl:value-of select="cause"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1524
					</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1525
					<xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1526
						<TD> <A><xsl:attribute name="href"><xsl:value-of select="documentation" /></xsl:attribute><xsl:value-of select="cause"/></A></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1527
					</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1528
				</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1529
            
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1530
	    		<TD bgcolor= "{$bccellbgcolour}">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1531
	    			<xsl:if test="$issBCSC=2"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1532
	    			<xsl:value-of select="severity/typestring"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1533
	    		<xsl:if test="count(scseverity) &gt; 0">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1534
	    		<TD bgcolor= "{$sccellbgcolour}">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1535
	    			<xsl:if test="$issBCSC=1"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1536
	    			<xsl:value-of select="scseverity/typestring"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1537
	    		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1538
				<TD align="center"><xsl:value-of select="date-added"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1539
				<TD align="center"><xsl:value-of select="bugzilla-id"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1540
				<TD align="center"><xsl:value-of select="bc-status"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1541
				</TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1542
	</xsl:template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1543
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1544
	<xsl:template name="LIBNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1545
		<xsl:param name="issTyp" select="-1" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1546
		<xsl:param name="issBCSC" select="'0'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1547
			<!--
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1548
			<xsl:if test="(count(issue[status='NOK'and typeid!=2 and typeid!=7 and typeid!=14]) &gt; 0 or count(issue[count(status) = 0 and typeid!=2 and typeid!=7 and typeid!=14]) &gt; 0) ">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1549
			-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1550
			<!-- Added by maciejs (6 lines)-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1551
			<xsl:variable name="isHdrRef">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1552
				<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1553
					<xsl:when test="count(issue/refheaderfile) &gt; 0">true</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1554
					<xsl:otherwise>false</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1555
			    </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1556
			</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1557
			<div id="repBlock" name="repBlock">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1558
			 <table border="0" cellpadding="2" cellspacing="0" width = "100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1559
			<TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1560
				<td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1561
			 <table border="0" cellpadding="2" cellspacing="0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1562
			<tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1563
				<td colspan="3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1564
			  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1565
		  			<xsl:when test="$show_API = 1 and $paramSort = 0"><font size="4"><b>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1566
		  				<xsl:if test="count(shortname) &gt; 0"><xsl:value-of select="shortname"/></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1567
						  <xsl:if test="count(shortname) = 0"><xsl:value-of select="name"/></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1568
		  			</b></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1569
		  			<xsl:otherwise><font size="4">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1570
		  				<xsl:if test="count(shortname) &gt; 0"><xsl:value-of select="shortname"/></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1571
						  <xsl:if test="count(shortname) = 0"><xsl:value-of select="name"/></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1572
		  			</font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1573
			  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1574
			  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1575
			</tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1576
		<xsl:if test="$show_API=1">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1577
			<tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1578
				<td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1579
			  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1580
		  			<xsl:when test="$paramSort = 1"><font size="4"><b><i><xsl:value-of select="api/@name"/></i></b></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1581
		  			<xsl:otherwise><font size="3"><i><xsl:value-of select="api/@name"/></i></font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1582
			  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1583
			  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1584
			  <td width="30" align="center"><font size="3"><b>:</b></font></td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1585
				<td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1586
			  	<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1587
		  			<xsl:when test="$paramSort = 2"><font size="4"><b><i><xsl:value-of select="api/@category"/></i></b></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1588
		  			<xsl:otherwise><font size="3"><i><xsl:value-of select="api/@category"/></i></font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1589
			  	</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1590
			  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1591
			 </tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1592
		</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1593
		</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1594
				</td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1595
			  <TD align="right" valign="bottom">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1596
						<A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1597
							<xsl:attribute name="href">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1598
							  javascript:openPath( '<xsl:value-of select="translate(name, '\\', '/')"/>' );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1599
							</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1600
							<xsl:if test="name != ''">baseline</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1601
						</A>		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1602
			<xsl:if test="name = ''"><font color="#808080">baseline</font></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1603
			<font size="3"> . </font>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1604
		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1605
						<A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1606
							<xsl:attribute name="href">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1607
							  javascript:openPath( '<xsl:value-of select="translate(comparefilename, '\\', '/')"/>' );
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1608
							</xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1609
							<xsl:if test="comparefilename != ''">current</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1610
						</A>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1611
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1612
			<xsl:if test="comparefilename = ''"><font color="#808080">current</font></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1613
			<font size="3"> . </font> 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1614
			
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1615
			</TD></TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1616
     </table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1617
     <table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1618
			  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1619
			    <xsl:when test="count(baseplatform) &gt; 0 and count(currentplatform) &gt; 0 ">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1620
			      <tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1621
			      <td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1622
			      <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1623
					    <xsl:when test="baseplatform!=''"><font size="2">base platform: <xsl:value-of select="baseplatform"/></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1624
					    <xsl:otherwise><font size="2">base platform: Unknown</font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1625
					  </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1626
					  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1627
					  <xsl:if test="comparefilename != ''">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1628
					  <td/><td/><td/><td/><td/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1629
					  <td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1630
					  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1631
					    <xsl:when test="currentplatform!=''"><font size="2">current platform: <xsl:value-of select="currentplatform"/></font></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1632
					    <xsl:otherwise><font size="2">current platform: Unknown</font></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1633
					  </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1634
					  </td>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1635
					  </xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1636
					  </tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1637
				 </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1638
			 </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1639
			</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1640
			 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1641
			<table border="0" cellpadding="2" cellspacing="0" bgColor="black" width = "100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1642
			<TR><TD><table border="0" cellspacing="0" cellpadding="3" width = "100%">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1643
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1644
			<TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1645
              <xsl:attribute name="bgColor">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1646
			    <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1647
			      <xsl:when test="status = 'OK'">#a8d098</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1648
			      <xsl:otherwise>#d0c8c0</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1649
			    </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1650
			  </xsl:attribute>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1651
			<TD align="left">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1652
			<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1653
			    <xsl:when test="count(issue[status='NOK']) &gt; 0"><b>This library contains changes that cause incompatibility. It must be fixed.</b></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1654
				  <xsl:otherwise><b>This library contains changes that may cause incompatibility. It must be analysed by an expert.</b></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1655
			</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1656
			</TD></TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1657
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1658
			</table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1659
				<table width="100%" cellpadding="0" cellspacing="0" bgColor="black" height="1"><tr><td/></tr></table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1660
				<table width = "100%" cellpadding="0" cellspacing="0" bgColor="#b0a8a0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1661
				<tr><td><table width = "100%" cellpadding="3" cellspacing="1" id="issueTable">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1662
				<tr bgcolor="#f0e8e0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1663
				<TH align="center" width="70"><B>Change</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1664
				<TH align="center" width="70"><B>Pos</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1665
				<TH align="left"><B>Details</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1666
				<!-- Added by maciejs (3 lines) -->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1667
				<xsl:if test="$isHdrRef = 'true'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1668
					<TH align="left" width="200"><B>Header reference</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1669
				</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1670
				<TH align="left" width="130" id="BCSeverity">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1671
					<xsl:if test="$issBCSC=2"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1672
					<B>BC Severity</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1673
				<xsl:if test="count(issue/sc_severity) &gt; 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1674
				<TH align="left" width="130" id="SCSeverity">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1675
					<xsl:if test="$issBCSC=1"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1676
					<B>SC Severity</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1677
				</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1678
				<TH align="center" width="100"><B>Date added</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1679
				<TH align="center" width="100"><B>Bugzilla id</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1680
				<TH align="center" width="100"><B>Status</B></TH>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1681
				</tr>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1682
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1683
				<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1684
				<xsl:when test="$issBCSC='0'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1685
					<xsl:for-each select="issue[(count(status)=0 or status!='OK') and typeid!=2 and typeid!=7 and typeid!=14 ]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1686
						<xsl:call-template name="issLIBNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1687
							<!-- Added by maciejs (2 lines) -->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1688
							<xsl:with-param name="isHdrRef" select="$isHdrRef" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1689
						</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1690
					</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1691
				</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1692
				<xsl:when test="$issBCSC='3'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1693
					<xsl:for-each select="issue[(count(status)=0 or status!='OK') and typeid!=2 and typeid!=7 and typeid!=14]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1694
						<xsl:call-template name="issLIBNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1695
							<!-- Added by maciejs (2 lines) -->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1696
							<xsl:with-param name="isHdrRef" select="$isHdrRef" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1697
						</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1698
					</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1699
				</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1700
				<xsl:when test="$issBCSC='1'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1701
					<xsl:for-each select="issue[(count(status)=0 or status!='OK') and typeid!=2 and bc_severity=$issTyp]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1702
						<xsl:call-template name="issLIBNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1703
							<xsl:with-param name="issBCSC" select="$issBCSC" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1704
							<!-- Added by maciejs (1 line) -->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1705
							<xsl:with-param name="isHdrRef" select="$isHdrRef" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1706
						</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1707
					</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1708
				</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1709
				<xsl:when test="$issBCSC='2'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1710
					<xsl:for-each select="issue[(count(status)=0 or status!='OK') and typeid!=2 and sc_severity=$issTyp]">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1711
						<xsl:call-template name="issLIBNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1712
							<xsl:with-param name="issBCSC" select="$issBCSC" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1713
							<!-- Added by maciejs (1 line) -->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1714
							<xsl:with-param name="isHdrRef" select="$isHdrRef" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1715
						</xsl:call-template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1716
					</xsl:for-each>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1717
				</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1718
				</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1719
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1720
				</table></td></tr></table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1721
			</TD></TR></table>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1722
			<BR/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1723
			</div>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1724
			<!--
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1725
			</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1726
			-->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1727
		</xsl:template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1728
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1729
		<xsl:template name="issLIBNotOK">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1730
			<xsl:param name="issBCSC" select="'0'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1731
			<xsl:param name="isHdrRef" select="'false'" />
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1732
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1733
				<xsl:if test="(count(status) = 0) or status!='OK'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1734
 				<xsl:variable name="bccellbgcolour">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1735
				<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1736
				<xsl:when test="count(bc_severity) &gt; 0">	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1737
				  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1738
					  <xsl:when test="bc_severity = 'BBC Break'"><xsl:text>#ffb880</xsl:text></xsl:when>			   
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1739
					  <xsl:when test="bc_severity = 'Possible BBC Break' or bc_severity = 'Informative'"><xsl:text>#ffffa0</xsl:text></xsl:when>			  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1740
				    <xsl:otherwise><xsl:text>White</xsl:text></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1741
				  </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1742
				</xsl:when>			   
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1743
				</xsl:choose> 
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1744
				</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1745
				    
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1746
				<xsl:variable name="sccellbgcolour">		
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1747
				  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1748
				    <xsl:when test="sc_severity = 'SC Break'"><xsl:text>#ffb880</xsl:text></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1749
					  <xsl:when test="sc_severity = 'Possible SC Break' or sc_severity = 'Informative'"><xsl:text>#ffffa0</xsl:text></xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1750
					  <xsl:otherwise><xsl:text>White</xsl:text></xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1751
				  </xsl:choose>				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1752
				</xsl:variable>	
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1753
 				<xsl:variable name="sevdesc">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1754
					<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1755
					  <xsl:when test="typeid=7">Informative</xsl:when>					  
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1756
					  <xsl:when test="status='NOK'">BBC Break</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1757
				  	<xsl:when test="status='OK'">Informative</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1758
				  	<xsl:otherwise>Possible BBC Break</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1759
					</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1760
				</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1761
				<xsl:variable name="sTxtColor">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1762
					<xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1763
						<xsl:when test="count(status) = 0 or normalize-space(status) = ''">#6611ff</xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1764
						<xsl:otherwise>Black</xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1765
					</xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1766
				</xsl:variable>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1767
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1768
		    <TR bgcolor= "White">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1769
				  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1770
				    <xsl:when test="typeid=1">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1771
				      <TD align="center"><font color="{$sTxtColor}"><i>removed</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1772
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1773
				      <TD ><font color="{$sTxtColor}">Library is no longer available</font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1774
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1775
				    <xsl:when test="typeid=3">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1776
				      <TD align="center"><font color="{$sTxtColor}"><i>moved</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1777
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><b><xsl:value-of select="funcpos"/> <font size="2"> =&gt; </font> <xsl:value-of select="newfuncpos"/></b></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1778
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="funcname"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1779
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1780
				    <xsl:when test="typeid=4">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1781
				      <TD align="center"><font color="{$sTxtColor}"><i>deleted</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1782
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><b><xsl:value-of select="funcpos"/></b></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1783
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="funcname"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1784
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1785
				    <xsl:when test="typeid=5">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1786
				      <TD align="center"><font color="{$sTxtColor}"><i>inserted</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1787
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><b><xsl:value-of select="newfuncpos"/></b></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1788
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="newfuncname"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1789
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1790
				    <xsl:when test="typeid=6">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1791
				      <TD align="center"><font color="{$sTxtColor}"><i>modified</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1792
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><b><xsl:value-of select="funcpos"/></b></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1793
				      <TD><font color="{$sTxtColor}"><b><i>was </i></b><xsl:value-of select="funcname"/><br/>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1794
				          <b><i>now </i></b><xsl:value-of select="newfuncname"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1795
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1796
				    <xsl:when test="typeid=7">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1797
				      <TD align="center"><font color="{$sTxtColor}"><i>added</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1798
				      <TD align="center" bgcolor="#f8f8f8"><font color="{$sTxtColor}"><b><xsl:value-of select="newfuncpos"/></b></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1799
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="newfuncname"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1800
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1801
				    <xsl:when test="typeid=8">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1802
				      <TD align="center"><font color="{$sTxtColor}"><i>modified</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1803
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1804
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="typeinfo"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1805
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1806
				    <xsl:when test="typeid=9">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1807
				      <TD align="center"><font color="{$sTxtColor}"><i>modified</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1808
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1809
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="typeinfo"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1810
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1811
				    <xsl:when test="typeid=10">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1812
				      <TD align="center"><font color="{$sTxtColor}"><i>modified</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1813
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1814
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="typeinfo"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1815
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1816
				    <xsl:when test="typeid=11">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1817
				      <TD align="center"><font color="{$sTxtColor}"><i>modified</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1818
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1819
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="typeinfo"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1820
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1821
				    <xsl:when test="typeid=12">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1822
				      <TD align="center"><font color="{$sTxtColor}"><i>modified</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1823
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1824
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="typeinfo"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1825
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1826
				    <xsl:when test="typeid=13">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1827
				      <TD align="center"><font color="{$sTxtColor}"><i>removed</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1828
				      <TD align="center" bgcolor="#f4f4f4"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1829
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="typeinfo"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1830
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1831
				    <xsl:when test="typeid=14">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1832
				      <TD align="center"><font color="{$sTxtColor}"><i>not available</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1833
				      <TD align="center" bgcolor="#f8f8f8"><font color="{$sTxtColor}"><i>-</i></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1834
				      <TD><font color="{$sTxtColor}"><xsl:value-of select="typeinfo"/></font></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1835
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1836
				   </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1837
				   <!-- Added by maciejs (3 lines) -->
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1838
				   <xsl:if test="$isHdrRef = 'true'">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1839
					   <TD><xsl:value-of select="refheaderfile"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1840
				   </xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1841
				
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1842
				  <xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1843
				    <xsl:when test="count(bc_severity) = 0">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1844
				      <TD bgcolor="{$bccellbgcolour}"><xsl:value-of select="$sevdesc"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1845
				    </xsl:when>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1846
				    <xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1847
		          <TD bgcolor="{$bccellbgcolour}">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1848
		          	<xsl:if test="$issBCSC=2"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1849
		          	<xsl:value-of select="bc_severity"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1850
		          <TD bgcolor="{$sccellbgcolour}">
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1851
		          	<xsl:if test="$issBCSC=1"><xsl:attribute name="style">display:none</xsl:attribute></xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1852
		          	<xsl:value-of select="sc_severity"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1853
		        </xsl:otherwise>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1854
		      </xsl:choose>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1855
			      <TD align="center"><xsl:value-of select="date-added"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1856
				  <TD align="center"><xsl:value-of select="bugzilla-id"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1857
				  <TD align="center"><xsl:value-of select="bc-status"/></TD>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1858
				</TR>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1859
				</xsl:if>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1860
		</xsl:template>
b836184892c6 Adding initial BC Headers Grey List xml and corresponding xls
mikek
parents:
diff changeset
  1861
</xsl:stylesheet>