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