Skip to content

Commit 001847e

Browse files
committed
HTML tags are lowercase, noframes is a part of frameset
1 parent 7f35678 commit 001847e

File tree

4 files changed

+132
-133
lines changed

4 files changed

+132
-133
lines changed

src/etc/coverage-frames.xsl

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@
8484
<frame src="allclasses-frame.html" name="classListFrame"/>
8585
</frameset>
8686
<frame src="overview-summary.html" name="classFrame"/>
87+
<noframes>
88+
<h2>Frame Alert</h2>
89+
<p>
90+
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
91+
</p>
92+
</noframes>
8793
</frameset>
88-
<noframes>
89-
<h2>Frame Alert</h2>
90-
<p>
91-
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
92-
</p>
93-
</noframes>
9494
</html>
9595
</xsl:template>
9696

@@ -259,7 +259,7 @@
259259
</table>
260260
<xsl:call-template name="pageFooter"/>
261261
</body>
262-
</html>
262+
</html>
263263
</xsl:template>
264264

265265
<!--
@@ -293,22 +293,22 @@
293293
<!-- list of classes in a package -->
294294
<xsl:template match="package" mode="classes.list">
295295
<html>
296-
<HEAD>
296+
<head>
297297
<xsl:call-template name="create.stylesheet.link">
298298
<xsl:with-param name="package.name" select="@name"/>
299299
</xsl:call-template>
300-
</HEAD>
301-
<BODY>
300+
</head>
301+
<body>
302302
<table width="100%">
303303
<tr>
304304
<td nowrap="nowrap">
305-
<H2><a href="package-summary.html" target="classFrame"><xsl:value-of select="@name"/></a></H2>
305+
<h2><a href="package-summary.html" target="classFrame"><xsl:value-of select="@name"/></a></h2>
306306
</td>
307307
</tr>
308308
</table>
309309

310-
<H2>Classes</H2>
311-
<TABLE WIDTH="100%">
310+
<h2>Classes</h2>
311+
<table width="100%">
312312
<xsl:for-each select="class">
313313
<xsl:sort select="@name"/>
314314
<tr>
@@ -317,21 +317,21 @@
317317
</td>
318318
</tr>
319319
</xsl:for-each>
320-
</TABLE>
321-
</BODY>
320+
</table>
321+
</body>
322322
</html>
323323
</xsl:template>
324324

325325
<!-- summary of a package -->
326326
<xsl:template match="package" mode="package.summary">
327-
<HTML>
328-
<HEAD>
327+
<html>
328+
<head>
329329
<xsl:call-template name="create.stylesheet.link">
330330
<xsl:with-param name="package.name" select="@name"/>
331331
</xsl:call-template>
332-
</HEAD>
332+
</head>
333333
<!-- when loading this package, it will open the classes into the frame -->
334-
<BODY onload="open('package-frame.html','classListFrame')">
334+
<body onload="open('package-frame.html','classListFrame')">
335335
<xsl:call-template name="pageHeader"/>
336336
<h3>Package <xsl:value-of select="@name"/></h3>
337337
<table class="log" cellpadding="5" cellspacing="2" width="100%">
@@ -340,7 +340,7 @@
340340
</table>
341341

342342
<xsl:if test="count(class) &gt; 0">
343-
<H3>Classes</H3>
343+
<h3>Classes</h3>
344344
<table class="log" cellpadding="5" cellspacing="2" width="100%">
345345
<xsl:apply-templates select="." mode="stats.header"/>
346346
<xsl:apply-templates select="class" mode="stats">
@@ -349,22 +349,22 @@
349349
</table>
350350
</xsl:if>
351351
<xsl:call-template name="pageFooter"/>
352-
</BODY>
353-
</HTML>
352+
</body>
353+
</html>
354354
</xsl:template>
355355

356356
<!-- details of a class -->
357357
<xsl:template match="class" mode="class.details">
358358
<xsl:variable name="package.name" select="(ancestor::package)[last()]/@name"/>
359-
<HTML>
360-
<HEAD>
359+
<html>
360+
<head>
361361
<xsl:call-template name="create.stylesheet.link">
362362
<xsl:with-param name="package.name" select="$package.name"/>
363363
</xsl:call-template>
364-
</HEAD>
365-
<BODY>
364+
</head>
365+
<body>
366366
<xsl:call-template name="pageHeader"/>
367-
<H3>Class <xsl:if test="not($package.name = '')"><xsl:value-of select="$package.name"/>.</xsl:if><xsl:value-of select="@name"/></H3>
367+
<h3>Class <xsl:if test="not($package.name = '')"><xsl:value-of select="$package.name"/>.</xsl:if><xsl:value-of select="@name"/></h3>
368368

369369
<!-- class summary -->
370370
<table class="log" cellpadding="5" cellspacing="2" width="100%">
@@ -373,35 +373,35 @@
373373
</table>
374374

375375
<!-- details of methods -->
376-
<H3>Methods</H3>
376+
<h3>Methods</h3>
377377
<table class="log" cellpadding="5" cellspacing="2" width="100%">
378378
<xsl:apply-templates select="method[1]" mode="stats.header"/>
379379
<xsl:apply-templates select="method" mode="stats">
380380
<xsl:sort data-type="number" select="cov.data/@hit_lines div cov.data/@total_lines"/>
381381
</xsl:apply-templates>
382382
</table>
383383
<xsl:call-template name="pageFooter"/>
384-
</BODY>
385-
</HTML>
384+
</body>
385+
</html>
386386

387387
</xsl:template>
388388

389389
<!-- Page Header -->
390390
<xsl:template name="pageHeader">
391-
<!-- jakarta logo -->
392-
<table border="0" cellpadding="0" cellspacing="0" width="100%">
393-
<tr>
394-
<td class="bannercell" rowspan="2">
395-
<a href="https://ant.apache.org/">
396-
<img src="https://ant.apache.org/images/group-logo.gif" alt="https://ant.apache.org" align="left" border="0"/>
397-
</a>
398-
</td>
399-
<td style="text-align:right"><h2>Source Code Coverage</h2></td>
391+
<!-- jakarta logo -->
392+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
393+
<tr>
394+
<td class="bannercell" rowspan="2">
395+
<a href="https://ant.apache.org/">
396+
<img src="https://ant.apache.org/images/group-logo.gif" alt="https://ant.apache.org" align="left" border="0"/>
397+
</a>
398+
</td>
399+
<td style="text-align:right"><h2>Source Code Coverage</h2></td>
400400
</tr>
401401
<tr>
402-
<td style="text-align:right">Designed for use with Sitraka JProbe and <a href='https://ant.apache.org'>Ant</a>.</td>
402+
<td style="text-align:right">Designed for use with Sitraka JProbe and <a href='https://ant.apache.org'>Ant</a>.</td>
403403
</tr>
404-
</table>
404+
</table>
405405
<hr size="1"/>
406406
</xsl:template>
407407

@@ -471,7 +471,7 @@
471471
<!-- create the link to the stylesheet based on the package name -->
472472
<xsl:template name="create.stylesheet.link">
473473
<xsl:param name="package.name"/>
474-
<LINK REL ="stylesheet" TYPE="text/css" TITLE="Style"><xsl:attribute name="href"><xsl:if test="not($package.name = 'unnamed package')"><xsl:call-template name="path"><xsl:with-param name="path" select="$package.name"/></xsl:call-template></xsl:if>stylesheet.css</xsl:attribute></LINK>
474+
<link rel ="stylesheet" type="text/css" title="Style"><xsl:attribute name="href"><xsl:if test="not($package.name = 'unnamed package')"><xsl:call-template name="path"><xsl:with-param name="path" select="$package.name"/></xsl:call-template></xsl:if>stylesheet.css</xsl:attribute></link>
475475
</xsl:template>
476476

477477
<!-- alternated row style -->

src/etc/jdepend-frames.xsl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@
8585
<frame src="all-cycles.html" name="classListFrame"/>
8686
</frameset>
8787
<frame src="overview-summary.html" name="classFrame"/>
88+
<noframes>
89+
<h2>Frame Alert</h2>
90+
<p>
91+
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
92+
</p>
93+
</noframes>
8894
</frameset>
89-
<noframes>
90-
<h2>Frame Alert</h2>
91-
<p>
92-
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
93-
</p>
94-
</noframes>
9595
</html>
9696
</xsl:template>
9797

src/etc/maudit-frames.xsl

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -99,22 +99,22 @@
9999
</xsl:template>
100100

101101
<xsl:template name="index.html">
102-
<HTML>
103-
<HEAD><TITLE>Audit Results.</TITLE></HEAD>
104-
<FRAMESET cols="20%,80%">
105-
<FRAMESET rows="30%,70%">
106-
<FRAME src="overview-frame.html" name="packageListFrame"/>
107-
<FRAME src="allclasses-frame.html" name="classListFrame"/>
108-
</FRAMESET>
109-
<FRAME src="overview-summary.html" name="classFrame"/>
110-
</FRAMESET>
111-
<noframes>
112-
<H2>Frame Alert</H2>
113-
<P>
114-
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
115-
</P>
116-
</noframes>
117-
</HTML>
102+
<html>
103+
<head><title>Audit Results.</title></head>
104+
<frameset cols="20%,80%">
105+
<frameset rows="30%,70%">
106+
<frame src="overview-frame.html" name="packageListFrame"/>
107+
<frame src="allclasses-frame.html" name="classListFrame"/>
108+
</frameset>
109+
<frame src="overview-summary.html" name="classFrame"/>
110+
<noframes>
111+
<h2>Frame Alert</h2>
112+
<p>
113+
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
114+
</p>
115+
</noframes>
116+
</frameset>
117+
</html>
118118
</xsl:template>
119119

120120

@@ -175,60 +175,60 @@
175175
<!-- print the violations of the class -->
176176
<xsl:template match="class" mode="class.details">
177177
<xsl:variable name="package.name" select="@package"/>
178-
<HTML>
179-
<HEAD>
178+
<html>
179+
<head>
180180
<xsl:call-template name="create.stylesheet.link">
181181
<xsl:with-param name="package.name" select="$package.name"/>
182182
</xsl:call-template>
183-
</HEAD>
184-
<BODY>
183+
</head>
184+
<body>
185185
<xsl:call-template name="pageHeader"/>
186-
<H3>Class <xsl:if test="not($package.name = '')"><xsl:value-of select="$package.name"/>.</xsl:if><xsl:value-of select="@name"/></H3>
186+
<h3>Class <xsl:if test="not($package.name = '')"><xsl:value-of select="$package.name"/>.</xsl:if><xsl:value-of select="@name"/></h3>
187187

188188
<table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
189189
<xsl:call-template name="class.audit.header"/>
190190
<xsl:apply-templates select="." mode="print.audit"/>
191191
</table>
192192

193-
<H3>Violations</H3>
193+
<h3>Violations</h3>
194194
<table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
195195
<xsl:call-template name="violation.audit.header"/>
196196
<xsl:apply-templates select="./violation" mode="print.audit">
197197
<xsl:sort data-type="number" select="@line"/>
198198
</xsl:apply-templates>
199199
</table>
200200
<xsl:call-template name="pageFooter"/>
201-
</BODY>
202-
</HTML>
201+
</body>
202+
</html>
203203
</xsl:template>
204204

205205

206206
<!-- list of classes in a package -->
207207
<xsl:template name="classes.list">
208208
<xsl:param name="name"/>
209-
<HTML>
210-
<HEAD>
209+
<html>
210+
<head>
211211
<xsl:call-template name="create.stylesheet.link">
212212
<xsl:with-param name="package.name" select="$name"/>
213213
</xsl:call-template>
214-
</HEAD>
215-
<BODY>
214+
</head>
215+
<body>
216216
<table width="100%">
217217
<tr>
218218
<td nowrap="nowrap">
219-
<H2><a href="package-summary.html" target="classFrame"><xsl:value-of select="$name"/></a></H2>
219+
<h2><a href="package-summary.html" target="classFrame"><xsl:value-of select="$name"/></a></h2>
220220
</td>
221221
</tr>
222222
</table>
223223

224224
<h2>Classes</h2>
225-
<TABLE WIDTH="100%">
225+
<table width="100%">
226226
<xsl:apply-templates select="/classes/class[./@package = $name]" mode="classes.list">
227227
<xsl:sort select="@name"/>
228228
</xsl:apply-templates>
229-
</TABLE>
230-
</BODY>
231-
</HTML>
229+
</table>
230+
</body>
231+
</html>
232232
</xsl:template>
233233
<!-- the class to list -->
234234
<xsl:template match="class" mode="classes.list">
@@ -376,13 +376,13 @@
376376

377377
<xsl:template name="package.summary">
378378
<xsl:param name="name"/>
379-
<HTML>
380-
<HEAD>
379+
<html>
380+
<head>
381381
<xsl:call-template name="create.stylesheet.link">
382382
<xsl:with-param name="package.name" select="$name"/>
383383
</xsl:call-template>
384-
</HEAD>
385-
<BODY>
384+
</head>
385+
<body>
386386
<xsl:attribute name="onload">open('package-frame.html','classListFrame')</xsl:attribute>
387387
<xsl:call-template name="pageHeader"/>
388388
<h3>Package <xsl:value-of select="$name"/></h3>
@@ -393,7 +393,7 @@
393393
</table-->
394394

395395
<xsl:if test="count(/classes/class[./@package = $name]) &gt; 0">
396-
<H3>Classes</H3>
396+
<h3>Classes</h3>
397397
<table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
398398
<xsl:call-template name="class.audit.header"/>
399399
<xsl:apply-templates select="/classes/class[./@package = $name]" mode="print.audit">
@@ -402,8 +402,8 @@
402402
</table>
403403
</xsl:if>
404404
<xsl:call-template name="pageFooter"/>
405-
</BODY>
406-
</HTML>
405+
</body>
406+
</html>
407407
</xsl:template>
408408

409409

@@ -428,7 +428,7 @@
428428
<!-- create the link to the stylesheet based on the package name -->
429429
<xsl:template name="create.stylesheet.link">
430430
<xsl:param name="package.name"/>
431-
<LINK REL ="stylesheet" TYPE="text/css" TITLE="Style"><xsl:attribute name="href"><xsl:if test="not($package.name = 'unnamed package')"><xsl:call-template name="path"><xsl:with-param name="path" select="$package.name"/></xsl:call-template></xsl:if>stylesheet.css</xsl:attribute></LINK>
431+
<link rel ="stylesheet" type="text/css" title="Style"><xsl:attribute name="href"><xsl:if test="not($package.name = 'unnamed package')"><xsl:call-template name="path"><xsl:with-param name="path" select="$package.name"/></xsl:call-template></xsl:if>stylesheet.css</xsl:attribute></link>
432432
</xsl:template>
433433

434434
<!-- Page HEADER -->

0 commit comments

Comments
 (0)