[Python-checkins] python/nondist/peps pep-html-template,1.2,1.3 pep2html.py,1.46,1.47

Walter Dörwald walter@livinglogic.de
Fri, 08 Nov 2002 11:40:58 +0100


goodger@users.sourceforge.net wrote:

> [...]
> Index: pep-html-template
> ===================================================================
> RCS file: /cvsroot/python/python/nondist/peps/pep-html-template,v
 > [...]
>   <?xml version="1.0" encoding="%(encoding)s"?>
> ! <!--
> ! This HTML is auto-generated.  DO NOT EDIT THIS FILE!  If you are writing a new
> ! PEP, see http://www.python.org/peps/pep-0001.html for instructions and links
> ! to templates.  DO NOT USE THIS HTML FILE AS YOUR TEMPLATE!
> ! -->
> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>   <html lang="en">
>   <head>
>     <meta http-equiv="Content-Type" content="text/html; charset=%(encoding)s">
> !   <meta name="generator" content="Docutils %(version)s: http://docutils.sourceforge.net/">
>     <title>PEP %(pep)s -- %(title)s</title>
>     %(stylesheet)s</head>

If this file claims to be XML shouldn't it include proper empty tags?

I.e. all empty tags should include a / at the end like this:

<meta http-equiv="Content-Type" content="text/html; charset=%(encoding)s" />
<meta name="generator" content="Docutils %(version)s: 
http://docutils.sourceforge.net/" />

Bye,
    Walter Dörwald