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>

Kevin,

> 
> The current editor draft of part 1 spec [1] reads like that extensions
can
> be layered, but it doesn't say anything about if an interface can
appear
> multiple times in the inheritance hierarchy, for example,  is it legal
for
> interface A to extend interface B and C, while B extends A,  C extends
B,
> 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

.savas.
Received on Wednesday, 30 April 2003 18:45:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:23 GMT