Hi!

Some weeks ago I posted the attached patch. It modifies the present error
doc templates (spacer.html, top.html, bottom.html) to be valid xhtml
documents.

To ensure their correctness, I validated all the resulting error documents
(the ssi-parsed output) at w3.org.

I also had to correct the <br>-tags in HTTP_INTERNAL_SERVER_ERROR.html.var
and an <a>-tag in contact.html.var (see attached patch).

regards,
erik

Index: httpd-docs-2.0/error/HTTP_INTERNAL_SERVER_ERROR.html.var
===================================================================
RCS file: 
/home/cvspublic/httpd-2.0/docs/error/HTTP_INTERNAL_SERVER_ERROR.html.var,v
retrieving revision 1.3
diff -u -I*.AppleDouble -r1.3 HTTP_INTERNAL_SERVER_ERROR.html.var
--- httpd-docs-2.0/error/HTTP_INTERNAL_SERVER_ERROR.html.var    18 Jun 2002 
22:34:34 -0000      1.3
+++ httpd-docs-2.0/error/HTTP_INTERNAL_SERVER_ERROR.html.var    7 Jul 2002 
18:13:17 -0000
@@ -12,7 +12,7 @@
     <!--#include virtual="include/spacer.html" -->
 
     Fehlermeldung:
-    <BR><!--#echo var="REDIRECT_ERROR_NOTES" -->
+    <br /><!--#echo var="REDIRECT_ERROR_NOTES" -->
 
 
   <!--#else -->
@@ -38,7 +38,7 @@
     <!--#include virtual="include/spacer.html" -->
 
     Error message:
-    <BR><!--#echo var="REDIRECT_ERROR_NOTES" -->
+    <br /><!--#echo var="REDIRECT_ERROR_NOTES" -->
 
   <!--#else -->
 
@@ -65,7 +65,7 @@
     <!--#include virtual="include/spacer.html" -->
 
         Mensaje de error:
-    <BR><!--#echo var="REDIRECT_ERROR_NOTES" -->
+    <br /><!--#echo var="REDIRECT_ERROR_NOTES" -->
 
   <!--#else -->
 
@@ -94,7 +94,7 @@
     <!--#include virtual="include/spacer.html" -->
 
         Message d'erreur:
-    <BR><!--#echo var="REDIRECT_ERROR_NOTES" -->
+    <br /><!--#echo var="REDIRECT_ERROR_NOTES" -->
 
   <!--#else -->
 
Index: httpd-docs-2.0/error/contact.html.var
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/error/contact.html.var,v
retrieving revision 1.5
diff -u -I*.AppleDouble -r1.5 contact.html.var
--- httpd-docs-2.0/error/contact.html.var       18 Jun 2002 22:34:34 -0000      
1.5
+++ httpd-docs-2.0/error/contact.html.var       7 Jul 2002 18:13:17 -0000
@@ -1,24 +1,24 @@
 Content-language: de
 Content-type: text/html
 Body:----------de--
- Sofern Sie dies f&uuml;r eine Fehlfunktion des Servers halten,
- informieren Sie bitte den
- <A HREF="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" 
-->">Webmaster</A>
- hier&uuml;ber.
+Sofern Sie dies f&uuml;r eine Fehlfunktion des Servers halten,
+informieren Sie bitte den
+<a href="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" -->">Webmaster</a>
+hier&uuml;ber.
 ----------de--
 
 Content-language: en
 Content-type: text/html
 Body:----------en--
- If you think this is a server error, please contact
- the <A HREF="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" 
-->">webmaster</A>
+If you think this is a server error, please contact
+the <a href="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" 
-->">webmaster</a>
 ----------en--
 
 Content-language: es
 Content-type: text/html
 Body:----------es--
 Favor de contactar al 
-<A HREF="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" -->">webmaster</A>
+<a href="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" -->">webmaster</a>
 en caso de que usted crea que existe un error en el servidor. 
 ----------es--
 
@@ -26,5 +26,5 @@
 Content-type: text/html
 Body:----------fr--
 Si vous pensez qu'il s'agit d'une erreur du serveur, veuillez contacter 
-le <A HREF="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" 
-->">gestionnaire du site</A>   
+le <a href="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" 
-->">gestionnaire du site</a>   
 ----------fr--
Index: httpd-docs-2.0/error/include/bottom.html
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/error/include/bottom.html,v
retrieving revision 1.10
diff -u -I*.AppleDouble -r1.10 bottom.html
--- httpd-docs-2.0/error/include/bottom.html    20 Jun 2002 03:51:46 -0000      
1.10
+++ httpd-docs-2.0/error/include/bottom.html    7 Jul 2002 18:13:17 -0000
@@ -1,19 +1,26 @@
-</DL><DL><DD>
+</dd></dl><dl><dd>
 <!--#include virtual="../contact.html.var" -->
-</DL>
+</dd></dl>
 
-<H2>Error <!--#echo encoding="none" var="REDIRECT_STATUS" --></H2>
-<DL>
-<DD>
-<ADDRESS>
-  <A HREF="/"><!--#echo encoding="none" var="SERVER_NAME" --></A>
-  <BR>
+<h2>Error <!--#echo encoding="none" var="REDIRECT_STATUS" --></h2>
+<dl>
+<dd>
+<address>
+  <a href="/"><!--#echo encoding="none" var="SERVER_NAME" --></a>
+  <br />
   <!--#config timefmt="%c" -->
   <small><!--#echo encoding="none" var="DATE_LOCAL" --></small>
-  <BR>
+  <br />
 
+  <!-- Set this value to 1 to display server version in all error
+  documents -->
+  <!--#set var="ShowVersion" value="0" -->
+
+  <!--#if expr="$ShowVersion = 1" -->
   <small><!--#echo encoding="none" var="SERVER_SOFTWARE" --></small>
-</ADDRESS>
-</DL>
-</BODY>
-</HTML>
+  <!--#endif -->
+</address>
+</dd>
+</dl>
+</body>
+</html>
Index: httpd-docs-2.0/error/include/spacer.html
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/error/include/spacer.html,v
retrieving revision 1.1
diff -u -I*.AppleDouble -r1.1 spacer.html
--- httpd-docs-2.0/error/include/spacer.html    19 Aug 2001 01:01:51 -0000      
1.1
+++ httpd-docs-2.0/error/include/spacer.html    7 Jul 2002 18:13:17 -0000
@@ -1 +1 @@
-</DL><DL><DD>
+</dd></dl><dl><dd>
Index: httpd-docs-2.0/error/include/top.html
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/error/include/top.html,v
retrieving revision 1.4
diff -u -I*.AppleDouble -r1.4 top.html
--- httpd-docs-2.0/error/include/top.html       21 Aug 2001 01:31:23 -0000      
1.4
+++ httpd-docs-2.0/error/include/top.html       7 Jul 2002 18:13:17 -0000
@@ -1,11 +1,13 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-<TITLE><!--#echo var="TITLE" --></TITLE>
-<LINK REV="made" HREF="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" 
-->">
-</HEAD>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en-US" lang="en-US">
+<head>
+<title><!--#echo var="TITLE" --></title>
+<link rev="made" href="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" 
-->" />
+</head>
 
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000CC">
-<H1><!--#echo encoding="none" var="TITLE" --></H1>
-<DL>
-<DD>
+<body bgcolor="#FFFFFF" text="#000000" link="#0000CC">
+<h1><!--#echo encoding="none" var="TITLE" --></h1>
+<dl>
+<dd>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to