blob: c7c77dba7b7dce0bd0bcca92f751da08b3e135a5 [file] [log] [blame]
david_williams3926e9f2006-12-09 08:23:14 +00001<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet
3 version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
david_williams3926e9f2006-12-09 08:23:14 +00005 <xsl:output
6 method="html"
david_williams6534c102009-08-09 23:48:23 +00007 indent="yes"/>
8 <xsl:template
9 match="/">
david_williams3926e9f2006-12-09 08:23:14 +000010 <html>
11 <body>
david_williams6534c102009-08-09 23:48:23 +000012 <xsl:apply-templates
13 select="versioningReport"/>
david_williams3926e9f2006-12-09 08:23:14 +000014 </body>
15 </html>
16 </xsl:template>
david_williams6534c102009-08-09 23:48:23 +000017 <xsl:template
18 match="versioningReport">
david_williams3926e9f2006-12-09 08:23:14 +000019 <h2>Versioning Report</h2>
david_williams6534c102009-08-09 23:48:23 +000020 <xsl:apply-templates
21 select="versioningReportData"/>
david_williams3926e9f2006-12-09 08:23:14 +000022 </xsl:template>
david_williams3926e9f2006-12-09 08:23:14 +000023 <xsl:template
24 name="errors"
25 match="versioningReportData">
26 <p>
27 For
david_williams6534c102009-08-09 23:48:23 +000028 <xsl:value-of
29 select="@current"/>
david_williams3926e9f2006-12-09 08:23:14 +000030 using
david_williams6534c102009-08-09 23:48:23 +000031 <xsl:value-of
32 select="@id"/>
david_williamsab04f962006-12-10 09:39:38 +000033 as the reference.
david_williams6534c102009-08-09 23:48:23 +000034 </p>
35 <p>Remember this listing is subject to inaccuracies based on
36 bugs in the scripts that generate it, or, more likely in the
37 exact way or time the reference data was obtained. In other
38 words, the code is correct and self documenting, and this
39 report is intended to provide a quick sneek peek only.</p>
40 <p>Errors (decreases in version numbers)
david_williams762b7a52007-02-22 07:59:57 +000041 <ul>
david_williams6534c102009-08-09 23:48:23 +000042 <li>
43 <a
44 href="#bundleerrors">Bundles with versioning errors</a>
45 </li>
46 <li>
47 <a
48 href="#featureerrors">Features with versioning errors</a>
49 </li>
david_williams762b7a52007-02-22 07:59:57 +000050 </ul>
david_williams6534c102009-08-09 23:48:23 +000051 </p>
52 <p>Errors (qualifier-only increases)
53 <ul>
54 <li>
55 <a
56 href="#bundlequalifier">Bundles with qualifier-only increases</a>
57 </li>
58 <li>
59 <a
60 href="#feauturequalifier">Features with qualifier-only increases</a>
61 </li>
62 </ul>
63 </p>
david_williams762b7a52007-02-22 07:59:57 +000064 <p>Bundles</p>
65 <ul>
david_williams6534c102009-08-09 23:48:23 +000066 <li>
67 <a
68 href="#bundlemajor">Bundles with major version increase</a>
69 </li>
70 <li>
71 <a
72 href="#bundleminor">Bundles with minor version increase</a>
73 </li>
74 <li>
75 <a
76 href="#bundleservice">Bundles with service version increase</a>
77 </li>
david_williams762b7a52007-02-22 07:59:57 +000078 </ul>
79 <p>Features</p>
80 <ul>
david_williams6534c102009-08-09 23:48:23 +000081 <li>
82 <a
83 href="#featuremajor">Features with major version increase</a>
84 </li>
85 <li>
86 <a
87 href="#featureminor">Features with minor version increase</a>
88 </li>
89 <li>
90 <a
91 href="#featureservice">Features with service version increase</a>
92 </li>
david_williams762b7a52007-02-22 07:59:57 +000093 </ul>
94 <p>New</p>
95 <ul>
david_williams6534c102009-08-09 23:48:23 +000096 <li>
97 <a
98 href="#bundlesnew">New bundles in current but not in reference</a>
99 </li>
100 <li>
101 <a
102 href="#featuresnew">New features in current but not in reference</a>
103 </li>
david_williams762b7a52007-02-22 07:59:57 +0000104 </ul>
105 <p>Gone</p>
106 <ul>
david_williams6534c102009-08-09 23:48:23 +0000107 <li>
108 <a
109 href="#bundlesgone">Bundles in reference but not in current</a>
110 </li>
111 <li>
112 <a
113 href="#featuresgone">Features in reference but not in current</a>
114 </li>
david_williams762b7a52007-02-22 07:59:57 +0000115 </ul>
116 <p>No Change</p>
117 <ul>
david_williams6534c102009-08-09 23:48:23 +0000118 <li>
119 <a
120 href="#bundlenochange">Bundles with no change</a>
121 </li>
122 <li>
123 <a
124 href="#featurenochange">Features with no change</a>
125 </li>
david_williams762b7a52007-02-22 07:59:57 +0000126 </ul>
david_williams6534c102009-08-09 23:48:23 +0000127 <h3
128 id="bundleerrors">Bundles with versioning errors</h3>
david_williamsab04f962006-12-10 09:39:38 +0000129 <dl>
david_williams6534c102009-08-09 23:48:23 +0000130 <xsl:for-each
131 select="versioningCompare">
david_williamsab04f962006-12-10 09:39:38 +0000132 <xsl:if
david_williamsc84ab8c2006-12-11 18:50:34 +0000133 test="@kind = 'error' and @codePackageType ='bundle'">
david_williams6534c102009-08-09 23:48:23 +0000134 <dt
135 style="font-weight: bold; color: crimson">
136 <xsl:value-of
137 select="entry"/>
david_williamsab04f962006-12-10 09:39:38 +0000138 </dt>
david_williams6534c102009-08-09 23:48:23 +0000139 <dd
140 style="font-family: monospace;">
141 <xsl:value-of
142 select="current"/>
david_williamsab04f962006-12-10 09:39:38 +0000143 (current)
144 </dd>
david_williams6534c102009-08-09 23:48:23 +0000145 <dd
146 style="font-family: monospace;">
147 <xsl:value-of
148 select="reference"/>
david_williamsab04f962006-12-10 09:39:38 +0000149 (reference)
150 </dd>
151 </xsl:if>
152 </xsl:for-each>
153 </dl>
david_williams6534c102009-08-09 23:48:23 +0000154 <h3
155 id="featureerrors">Features with versioning errors</h3>
david_williamsab04f962006-12-10 09:39:38 +0000156 <dl>
david_williams6534c102009-08-09 23:48:23 +0000157 <xsl:for-each
158 select="versioningCompare">
david_williamsab04f962006-12-10 09:39:38 +0000159 <xsl:if
david_williamsc84ab8c2006-12-11 18:50:34 +0000160 test="@kind = 'error' and @codePackageType ='feature'">
david_williams6534c102009-08-09 23:48:23 +0000161 <dt
162 style="font-weight: bold; color: crimson">
163 <xsl:value-of
164 select="entry"/>
david_williamsab04f962006-12-10 09:39:38 +0000165 </dt>
david_williams6534c102009-08-09 23:48:23 +0000166 <dd
167 style="font-family: monospace;">
168 <xsl:value-of
169 select="current"/>
david_williamsab04f962006-12-10 09:39:38 +0000170 (current)
171 </dd>
david_williams6534c102009-08-09 23:48:23 +0000172 <dd
173 style="font-family: monospace;">
174 <xsl:value-of
175 select="reference"/>
david_williamsab04f962006-12-10 09:39:38 +0000176 (reference)
177 </dd>
178 </xsl:if>
179 </xsl:for-each>
180 </dl>
david_williams6534c102009-08-09 23:48:23 +0000181 <h3
182 id="bundlequalifier">Bundles with qualifier-only increases</h3>
david_williams762b7a52007-02-22 07:59:57 +0000183 <dl>
david_williams6534c102009-08-09 23:48:23 +0000184 <xsl:for-each
185 select="versioningCompare">
david_williamsab04f962006-12-10 09:39:38 +0000186 <xsl:if
david_williamsc84ab8c2006-12-11 18:50:34 +0000187 test="@kind = 'increase' and @field='qualifier' and @codePackageType ='bundle'">
david_williams6534c102009-08-09 23:48:23 +0000188 <dt
189 style="font-weight: bold; color: crimson">
190 <xsl:value-of
191 select="entry"/>
david_williamsab04f962006-12-10 09:39:38 +0000192 </dt>
david_williams6534c102009-08-09 23:48:23 +0000193 <dd
194 style="font-family: monospace">
195 <xsl:value-of
196 select="current"/>
david_williamsab04f962006-12-10 09:39:38 +0000197 (current)
198 </dd>
david_williams6534c102009-08-09 23:48:23 +0000199 <dd
200 style="font-family: monospace">
201 <xsl:value-of
202 select="reference"/>
david_williamsab04f962006-12-10 09:39:38 +0000203 (reference)
204 </dd>
205 </xsl:if>
206 </xsl:for-each>
207 </dl>
david_williams6534c102009-08-09 23:48:23 +0000208 <h3
209 id="feauturequalifier">Features with qualifier-only increases</h3>
david_williams762b7a52007-02-22 07:59:57 +0000210 <dl>
david_williams6534c102009-08-09 23:48:23 +0000211 <xsl:for-each
212 select="versioningCompare">
david_williams762b7a52007-02-22 07:59:57 +0000213 <xsl:if
214 test="@kind = 'increase' and @field='qualifier' and @codePackageType ='feature'">
david_williams6534c102009-08-09 23:48:23 +0000215 <dt
216 style="font-weight: bold; color: crimson">
217 <xsl:value-of
218 select="entry"/>
david_williams762b7a52007-02-22 07:59:57 +0000219 </dt>
david_williams6534c102009-08-09 23:48:23 +0000220 <dd
221 style="font-family: monospace">
222 <xsl:value-of
223 select="current"/>
david_williams762b7a52007-02-22 07:59:57 +0000224 (current)
225 </dd>
david_williams6534c102009-08-09 23:48:23 +0000226 <dd
227 style="font-family: monospace">
228 <xsl:value-of
229 select="reference"/>
david_williams762b7a52007-02-22 07:59:57 +0000230 (reference)
231 </dd>
david_williamsab04f962006-12-10 09:39:38 +0000232 </xsl:if>
233 </xsl:for-each>
david_williams762b7a52007-02-22 07:59:57 +0000234 </dl>
david_williams6534c102009-08-09 23:48:23 +0000235 <h3
236 id="bundlemajor">Bundles with major version increase</h3>
237 <dl>
238 <xsl:for-each
239 select="versioningCompare">
240 <xsl:if
241 test="@kind = 'increase' and @field='major' and @codePackageType ='bundle'">
242 <dt
243 style="font-weight: bold; color: blue">
244 <xsl:value-of
245 select="entry"/>
246 </dt>
247 <dd
248 style="font-family: monospace">
249 <xsl:value-of
250 select="current"/>
251 (current)
252 </dd>
253 <dd
254 style="font-family: monospace">
255 <xsl:value-of
256 select="reference"/>
257 (reference)
258 </dd>
259 </xsl:if>
260 </xsl:for-each>
261 </dl>
262 <h3
263 id="bundleminor">Bundles with minor version increase</h3>
264 <dl>
265 <xsl:for-each
266 select="versioningCompare">
267 <xsl:if
268 test="@kind = 'increase' and @field='minor' and @codePackageType ='bundle'">
269 <dt
270 style="font-weight: bold; color: blue">
271 <xsl:value-of
272 select="entry"/>
273 </dt>
274 <dd
275 style="font-family: monospace">
276 <xsl:value-of
277 select="current"/>
278 (current)
279 </dd>
280 <dd
281 style="font-family: monospace">
282 <xsl:value-of
283 select="reference"/>
284 (reference)
285 </dd>
286 </xsl:if>
287 </xsl:for-each>
288 </dl>
289 <h3
290 id="bundleservice">Bundles with service version increase</h3>
291 <dl>
292 <xsl:for-each
293 select="versioningCompare">
294 <xsl:if
295 test="@kind = 'increase' and @field='service' and @codePackageType ='bundle'">
296 <dt
297 style="font-weight: bold; color: blue">
298 <xsl:value-of
299 select="entry"/>
300 </dt>
301 <dd
302 style="font-family: monospace">
303 <xsl:value-of
304 select="current"/>
305 (current)
306 </dd>
307 <dd
308 style="font-family: monospace">
309 <xsl:value-of
310 select="reference"/>
311 (reference)
312 </dd>
313 </xsl:if>
314 </xsl:for-each>
315 </dl>
316 <h3
317 id="featuremajor">Features with major version increase</h3>
318 <dl>
319 <xsl:for-each
320 select="versioningCompare">
321 <xsl:if
322 test="@kind = 'increase' and @field='major' and @codePackageType ='feature'">
323 <dt
324 style="font-weight: bold; color: blue">
325 <xsl:value-of
326 select="entry"/>
327 </dt>
328 <dd
329 style="font-family: monospace">
330 <xsl:value-of
331 select="current"/>
332 (current)
333 </dd>
334 <dd
335 style="font-family: monospace">
336 <xsl:value-of
337 select="reference"/>
338 (reference)
339 </dd>
340 </xsl:if>
341 </xsl:for-each>
342 </dl>
343 <h3
344 id="featureminor">Features with minor version increase</h3>
345 <dl>
346 <xsl:for-each
347 select="versioningCompare">
348 <xsl:if
349 test="@kind = 'increase' and @field='minor' and @codePackageType ='feature'">
350 <dt
351 style="font-weight: bold; color: blue">
352 <xsl:value-of
353 select="entry"/>
354 </dt>
355 <dd
356 style="font-family: monospace">
357 <xsl:value-of
358 select="current"/>
359 (current)
360 </dd>
361 <dd
362 style="font-family: monospace">
363 <xsl:value-of
364 select="reference"/>
365 (reference)
366 </dd>
367 </xsl:if>
368 </xsl:for-each>
369 </dl>
370 <h3
371 id="featureservice">Features with service version increase</h3>
372 <dl>
373 <xsl:for-each
374 select="versioningCompare">
375 <xsl:if
376 test="@kind = 'increase' and @field='service' and @codePackageType ='feature'">
377 <dt
378 style="font-weight: bold; color: blue">
379 <xsl:value-of
380 select="entry"/>
381 </dt>
382 <dd
383 style="font-family: monospace">
384 <xsl:value-of
385 select="current"/>
386 (current)
387 </dd>
388 <dd
389 style="font-family: monospace">
390 <xsl:value-of
391 select="reference"/>
392 (reference)
393 </dd>
394 </xsl:if>
395 </xsl:for-each>
396 </dl>
397 <h3
398 id="bundlesnew">New bundles in current but not in reference</h3>
399 <table
400 border="1">
401 <tr>
402 <th>bundle</th>
403 <th>version</th>
404 </tr>
405 <xsl:for-each
406 select="versioningCompare">
407 <xsl:if
408 test="@kind = 'extraInReference' and @codePackageType ='bundle'">
david_williams762b7a52007-02-22 07:59:57 +0000409 <tr>
david_williams6534c102009-08-09 23:48:23 +0000410 <td>
411 <xsl:value-of
412 select="entry"/>
413 </td>
414 <td>
415 <xsl:value-of
416 select="reference"/>
417 </td>
david_williams762b7a52007-02-22 07:59:57 +0000418 </tr>
419 </xsl:if>
420 </xsl:for-each>
421 </table>
david_williams6534c102009-08-09 23:48:23 +0000422 <h3
423 id="featuresnew">New features in current but not in reference</h3>
424 <table
425 border="1">
426 <tr>
427 <th>feature</th>
428 <th>version</th>
429 </tr>
430 <xsl:for-each
431 select="versioningCompare">
432 <xsl:if
433 test="@kind = 'extraInReference' and @codePackageType ='feature'">
david_williams762b7a52007-02-22 07:59:57 +0000434 <tr>
david_williams6534c102009-08-09 23:48:23 +0000435 <td>
436 <xsl:value-of
437 select="entry"/>
438 </td>
439 <td>
440 <xsl:value-of
441 select="reference"/>
442 </td>
david_williams762b7a52007-02-22 07:59:57 +0000443 </tr>
444 </xsl:if>
445 </xsl:for-each>
446 </table>
david_williams6534c102009-08-09 23:48:23 +0000447 <h3
448 id="bundlesgone">Bundles in reference but not in current</h3>
449 <table
450 border="1">
451 <tr>
452 <th>bundle</th>
453 <th>version</th>
454 </tr>
455 <xsl:for-each
456 select="versioningCompare">
457 <xsl:if
458 test="@kind = 'extraInCurrent' and @codePackageType ='bundle'">
459 <tr>
460 <td>
461 <xsl:value-of
462 select="entry"/>
463 </td>
464 <td>
465 <xsl:value-of
466 select="reference"/>
467 </td>
468 </tr>
469 </xsl:if>
470 </xsl:for-each>
471 </table>
472 <h3
473 id="featuresgone">Features in reference but not in current</h3>
474 <table
475 border="1">
476 <tr>
477 <th>feature</th>
478 <th>version</th>
479 </tr>
480 <xsl:for-each
481 select="versioningCompare">
482 <xsl:if
483 test="@kind = 'extraInCurrent' and @codePackageType ='feature'">
484 <tr>
485 <td>
486 <xsl:value-of
487 select="entry"/>
488 </td>
489 <td>
490 <xsl:value-of
491 select="reference"/>
492 </td>
493 </tr>
494 </xsl:if>
495 </xsl:for-each>
496 </table>
497 <h3
498 id="featurenochange">Features with no change</h3>
499 <table
500 border="1">
501 <tr>
502 <th>feature</th>
503 <th>version</th>
504 </tr>
505 <xsl:for-each
506 select="versioningCompare">
507 <xsl:if
508 test="@kind = 'noChange' and @codePackageType ='feature'">
509 <tr>
510 <td>
511 <xsl:value-of
512 select="entry"/>
513 </td>
514 <td>
515 <xsl:value-of
516 select="current"/>
517 </td>
518 </tr>
519 </xsl:if>
520 </xsl:for-each>
521 </table>
522 <h3
523 id="bundlenochange">Bundles with no change</h3>
524 <table
525 border="1">
526 <tr>
527 <th>bundle</th>
528 <th>version</th>
529 </tr>
530 <xsl:for-each
531 select="versioningCompare">
532 <xsl:if
533 test="@kind = 'noChange' and @codePackageType ='bundle'">
534 <tr>
535 <td>
536 <xsl:value-of
537 select="entry"/>
538 </td>
539 <td>
540 <xsl:value-of
541 select="current"/>
542 </td>
543 </tr>
544 </xsl:if>
545 </xsl:for-each>
546 </table>
david_williams3926e9f2006-12-09 08:23:14 +0000547 </xsl:template>
david_williams3926e9f2006-12-09 08:23:14 +0000548</xsl:stylesheet>