OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: DOM Confusion

[ Lists Home | Date Index | Thread Index ]
  • From: David.Brownell@Eng.Sun.COM (David Brownell)
  • To: mcc@arbortext.com, ray@guiworks.com
  • 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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS