W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2000

XHTML 1.0: use of relative URIs to reference DTDs

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 1 Oct 2000 05:18:41 +0200
Message-ID: <00cf01c02b5c$9f921330$c7cbb43e@de>
To: <www-html-editor@w3.org>

The XHTML 1.0 recommendation gives the following examples:

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"

People use these by copy&paste them into their documents. They fail of cause
to make local copies of the DTDs, so the URIs are resolved to a URI where the
DTDs cannot be found.

Future versions of XHTML should only reference absolute URIs to avoid this

Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://www.websitedev.de/
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote +{i}
--- Only connect! That was the whole of the sermon. -- E. M. Forster ---
Received on Sunday, 1 October 2000 00:04:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:24 UTC