[Home] [By Thread] [By Date] [Recent Entries]

  • From: David.Brownell@E... (David Brownell)
  • To: mcc@a..., ray@g...
  • Date: Thu, 30 Apr 1998 11:11:42 -0700

> Multiple inheritence would work if ...

In the system being used to define these interfaces, OMG-IDL,
multiple inheritance of interfaces (types) is just fine; there
is no "if" required!  It's the same as in Java, or with C++
virtual public inheritance:

    interface Element : Node { ... }
    interface XMLNode : Node { ... }
    interface XMLElement : XMLNode, Element { ... }

Not that there's an "XMLElement" interface defined now.

Don't confuse this with the "single implementation inheritance"
rule that most systems (other than C++) follow.

Now, as for the ECMA Script bindings ... I'm not an expert in
how the DOM WG is mapping IDL to ECMA Script.

- Dave



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member