[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texi2html-bug] w3c-validator warns about wrong doctype declaration
From: |
Andreas Lochmann |
Subject: |
[Texi2html-bug] w3c-validator warns about wrong doctype declaration |
Date: |
Mon, 02 Mar 2009 17:29:36 +0100 |
User-agent: |
IceDove 1.5.0.14eol (X11/20090105) |
Hi,
this is only a minor bug, but surely as easy to correct;
pardon me if this is already known.
I use texi2html 1.76 (Debian Etch). Documents created with texi2html
passed http://validator.w3.org without problems until recently
(thanks for such a good work!).
But now the validator gives a lonely single warning:
Mismatch between Public and System identifiers in the DOCTYPE
declaration
This document uses an inconsistent DOCTYPE declaration. The Public
Identifier -//W3C//DTD HTML 4.01 Transitional//EN declares the HTML
4.01 Transitional document type, but the associated System Identifier
http://www.w3.org/TR/html401/loose.dtd does not match this document
type.
The recommended System Identifier for HTML 4.01 Transitional is
http://www.w3.org/TR/html4/loose.dtd.
The safest way to use a correct DOCTYPE declaration is to copy and
paste one from the recommended list and avoid editing that part of
your markup by hand.
Real-Life-Example:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.nongnu.org%2Fenigma%2Fmanual%2Fenigma.html&charset=%28detect+automatically%29&doctype=Inline&group=0
So I'd suggest to change the default doctype of texi2html from
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html401/loose.dtd">
to the recommended:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
same for "frameset.dtd". I don't know why w3 changed this at all
- Anway, I hope this report helps.
Best regards,
Andreas Lochmann
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Texi2html-bug] w3c-validator warns about wrong doctype declaration,
Andreas Lochmann <=