texi2html-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texi2html-bug] wrong DOCTYPE for HTML 4.01 transitional


From: Reinhold Kainhofer
Subject: [Texi2html-bug] wrong DOCTYPE for HTML 4.01 transitional
Date: Sun, 7 Jun 2009 13:39:48 +0200
User-agent: KMail/1.11.3 (Linux/2.6.28-11-generic; KDE/4.2.3; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Patrice,
The w3 HTML validator always gives a warning that the HTML 4.01 transitional 
doctype should use /html4/loose.dtd instead of /html401/loose.dtd:
http://validator.w3.org/check?uri=http://kainhofer.com/~lilypond/Documentation/user/lilypond/index.html

In particular, the doctype, defined in the .init file is currently:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html401/loose.dtd";>

while it should rather be:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>

While this is not a real error, we can avoid the warning by simply adjusting 
the $DOCTYPE definition in texi2html.init.

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKK6cFTqjEwhXvPN0RAl5ZAJkBbxxq/mRi72sDyqBYckijP3OpUACgm/zD
rhuseNkDswNqSFZn2mjyTOU=
=Hhd8
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]