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>
Hi,

The XHTML 1.0 recommendation gives the following examples:

[...]
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "DTD/xhtml1-strict.dtd">

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "DTD/xhtml1-transitional.dtd">

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
     "DTD/xhtml1-frameset.dtd">
[...]

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
problem.

regards,
--
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:49 GMT