getAttribute() method on Element

A quick question about the DOM level 1 specification:

XML attribute values can be empty strings, but the getAttribute() method is
specified to return an empty string if the attribute is not present and no
default value is available.  Shouldn't these two cases be distinguished?

	Paul Rabin

Received on Wednesday, 9 June 1999 15:38:17 UTC