W3C home > Mailing lists > Public > www-ws-desc@w3.org > April 2003

RE: "recursive" interface inheritance

From: Savas Parastatidis <Savas.Parastatidis@newcastle.ac.uk>
Date: Wed, 30 Apr 2003 23:45:28 +0100
Message-ID: <BC28A9E979C56C44BCBC2DED313A447001AB2FA5@bond.ncl.ac.uk>
To: <www-ws-desc@w3.org>


> The current editor draft of part 1 spec [1] reads like that extensions
> be layered, but it doesn't say anything about if an interface can
> multiple times in the inheritance hierarchy, for example,  is it legal
> interface A to extend interface B and C, while B extends A,  C extends
> and so on? For lack of good terms, I call it "recursive" inheritance.

I think you're referring to "cyclic" graphs in an inheritance tree.
Actually, you don't need 3 interfaces to present the problem.

-> = extends

A->B->A (cyclic graph) not valid

Received on Wednesday, 30 April 2003 18:45:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:29 UTC