W3C home > Mailing lists > Public > www-validator@w3.org > October 2000

Re: [Bug] XHTML Strict Minimal document

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 24 Oct 2000 16:39:44 +0200
Message-ID: <004601c03dc8$73cb9810$a92090d4@de>
To: <www-validator@w3.org>, "Karl Dubost" <karl@w3.org>
* "Karl Dubost" <karl@w3.org> wrote:
| In http://www.w3.org/TR/xhtml1/#docconf
| 3.1.1 Strictly Conforming Documents
| A Strictly Conforming XHTML Document is a document that requires only
| the facilities described as mandatory in this specification. Such a
| document must meet all of the following criteria:
| 1. It must validate against one of the three DTDs found in Appendix A.

| So we could have a very minimal document as
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
| "DTD/xhtml1-strict.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml">
| </html>

No. This does not validate against one of the 3 DTDs as required above. A
title element is required in the DTD. This is not expressed in the
recommendation text, but thats not important, conformance to the DTD is

Furthermore you should not use relative URIs to reference the DTD; i don't
think the resolved URI points to the correct DTD file, so, a minimal XHTML 1.0
document would look like

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

The xmlns attribute has a fixed value in the DTD and does not need to be
defined in the XHTML file.

Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://www.websitedev.de/
..weaving a secure, well-formed, standard compliant WWW for =everyone=..
Received on Tuesday, 24 October 2000 10:39:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:28 UTC