W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2010

markup-validator commit: Remove no longer used xml-results XSL and CSS.

From: Mercurial notifier <nobody@w3.org>
Date: Sun, 12 Dec 2010 12:33:52 +0000
Message-Id: <E1PRl7g-0001Lv-Bq@mcbain.w3.org>
To: markup-validator updates <www-validator-cvs@w3.org>
changeset:   3178:ea535808f5fd
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Sun Dec 12 12:25:50 2010 +0200
files:       htdocs/xml-results.css htdocs/xml-results.xsl
description:
Remove no longer used xml-results XSL and CSS.


diff -r 4cc195f1cd3b -r ea535808f5fd htdocs/xml-results.css
--- a/htdocs/xml-results.css	Sun Dec 12 12:10:33 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/*
-   XML Results Style Sheet for the W3C Markup Validation Service.
-
-   Copyright 2002 Terje Bless <link@pobox.com>. All Rights Reserved.
-   See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright
-*/
-
-result, meta, uri, modified, server, size, encoding, doctype, warnings, messages {display: block}
-strong, a {display: inline}
-
-meta {
-  margin-left: 5em;
-  margin-bottom: 2em;
-  border-bottom: 1px solid black;
-  font-weight: bolder;
-}
-
-uri:before      { content: 'URL: ' }
-modified:before { content: 'Modified: ' }
-server:before   { content: 'Server: ' }
-size:before     { content: 'Size: ' }
-encoding:before { content: 'Encoding: ' }
-doctype:before  { content: 'Doctype: ' }
-
-warnings {
-  border-top: 1px solid red;
-  border-bottom: 1px solid red;
-  background: gray;
-  margin: 3em;
-}
-
-warning {
-  background: red;
-  display: list-item;
-}
-
-messages {margin: 2em}
-msg {
-  display: list-item;
-}
diff -r 4cc195f1cd3b -r ea535808f5fd htdocs/xml-results.xsl
--- a/htdocs/xml-results.xsl	Sun Dec 12 12:10:33 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet version="1.0"
-  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
->
-
-  <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01//EN"/>
-
-  <xsl:template match="result">
-<html lang="en">
-  <head>
-    <title>Report</title>
-    <link rel="stylesheet" type="text/css" href="xml-results.css"/>
-  </head>
-  <body>
-<!-- insert HTML body top parts here -->
-    <xsl:apply-templates select="meta"/>
-<!-- insert (whatever) between tables -->
-    <xsl:apply-templates select="warnings"/>
-<!-- insert (whatever) between tables -->
-    <xsl:apply-templates select="messages"/>
-<!-- insert HTML footer here -->
-  </body>
-</html>
-  </xsl:template>
-
-  <xsl:template match="meta">
-  <table id="meta" summary="Metadata concerning the page">
-    <tbody>
-      <tr><th scope="row">URL</th>            <td><a><xsl:attribute name="href"><xsl:value-of select="uri"/></xsl:attribute></a></td></tr>
-      <tr><th scope="row">Last Modified</th>  <td><xsl:value-of select="modified"/></td></tr>
-      <tr><th scope="row">Server</th>         <td><xsl:value-of select="server"/></td></tr>
-      <tr><th scope="row">Content-Length</th> <td><xsl:value-of select="size"/></td></tr>
-      <tr><th scope="row">Encoding</th>       <td><xsl:value-of select="encoding"/></td></tr>
-      <tr><th scope="row">Doctype</th>        <td><xsl:value-of select="doctype"/></td></tr>
-    </tbody>
-  </table>
-  </xsl:template>
-
-  <xsl:template match="warnings">
-  <ul style="display: list">
-    <xsl:apply-templates select="warning"/>
-  </ul>
-  </xsl:template>
-
-  <xsl:template match="messages">
-  <table id="errors" summary="Error messages">
-    <thead>
-      <tr>
-        <th scope="col">Line</th>
-        <th scope="col">Char</th>
-        <th scope="col">Offset</th>
-        <th scope="col">Message</th>
-      </tr>
-    </thead>
-    <tbody>
-    <xsl:apply-templates select="msg"/>
-    </tbody>
-  </table>
-  </xsl:template>
-
-  <xsl:template match="warning">
-    <li><xsl:value-of select="text()"/></li>
-  </xsl:template>
-
-  <xsl:template match="msg">
-    <tr>
-      <td><xsl:value-of select="@line"/></td>
-      <td><xsl:value-of select="@col"/></td>
-      <td><xsl:value-of select="@offset"/></td>
-      <td><xsl:value-of select="text()"/></td>
-    </tr>
-  </xsl:template>
-</xsl:stylesheet>
Received on Sunday, 12 December 2010 12:33:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC