W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

RE: Error on Element Declaration

From: Lauren Wood <lauren@sqwest.bc.ca>
Date: Mon, 04 May 1998 12:31:33 -0700
Message-Id: <199805041931.MAA06475@sqwest.bc.ca>
To: "W3C DOM List" <www-dom@w3.org>
At 04/05/98 08:10 AM , Andrew n marshall wrote: 
> If that is the intent, then Attribute doesn't derive Node in the IDL 
> definition. Although the concept of Attributes as Nodes never made 
> sense to me. Attributes are do not need any particular order, and 
> shouldn't be able to have children. 

The idea behind Attributes having children was to have something to keep the
attribute value in. Attribute values can contain entity references in XML, so
they can't be simple strings. What else would you suggest? 

You're right that attributes don't have a particular order, although I've
complaints about that from various people.

Received on Monday, 4 May 1998 15:32:04 UTC

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