XHTML DTDs failing in IE5

Richard Tobin richard at cogsci.ed.ac.uk
Thu Jun 3 16:02:20 BST 1999

> Any comments? Is IE5 at fault, or is it true that xmlns should be
> #FIXED, and so the DTDs are incorrect?

The Namespaces recommendation does not require it; Microsoft have
decided that it does not make sense to allow a declared element type
to be used to refer to elements in different namespaces, and they
enforce this by requiring xmlns attributes to be declared as #FIXED.

Furthermore, they do not allow you to declare prefixed element types
or attributes unless you also declare an xmlns attribute for the
prefix.  This is also not in the standard.

Andrew Layman posted a message about this a couple of weeks ago; it's
archived as


He points out:

  if you want to use the DTD to validate an instance, you must use
  exactly the same prefixes in the instance as were used in the DTD.

This is true, but it doesn't seem to me to be a good reason to reject
namespace-conformant documents.

-- Richard

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list