W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

DOM 1/2 Core: Default attributes and other DTD declarations

From: Sander Bos <sander@x-hive.com>
Date: Mon, 8 Jan 2001 10:01:41 +0100
Message-ID: <001001c07951$b028a720$1100a8c0@xhive.archipel>
To: <www-dom@w3.org>

Hi there,

Both DOM level 1 and DOM level 2 contain clauses regarding default
attributes, e.g.

    Removes a node specified by name. When this map contains the
    attributes attached to an element, if the removed attribute
    is known to have a default value, an attribute immediately
    appears containing the default value..."

However, I cannot find any information concerning other DTD properties that
can be set on attributes, such as that they are fixed, required or that
their value must be one of an enumeration of values.

Did I read it correctly that the DOM-specification only deals with the
default value part of DTD-attributes, and not the other parts? And if so,
could anybody explain to me why only default attributes are dealt with? I
could for instance imagine that if you try to remove a required attribute,
you are not allowed to.

Thanks in advance for any replies,


X-Hive Corporation (www.x-hive.com)
email: sander@x-hive.com
phone: +31 10 7108625
Received on Monday, 8 January 2001 04:02:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC