W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > December 2006

Interface Inheritance Clarification

From: Cindy McNally <cindymcnally_6@hotmail.com>
Date: Thu, 14 Dec 2006 14:50:39 +0000
Message-ID: <BAY19-F14DAFBB854F7A55CC84D11A7D50@phx.gbl>
To: public-ws-desc-comments@w3.org


I believe a clarification is waranted within part 1: core language re: 
interface inheritance.

The following sentence appears to imply that an interface inherits faults 
and operations from interfaces defined within the extends attribute AND from 
interfaces extended indirectly, i.e. interfaces defined within the extends 
attribute of extended interfaces, etc ...

"To avoid circular definitions, an interface MUST NOT appear as an element 
of the set of interfaces it extends, either directly or indirectly."

The next sentence, however, seems to imply that an interface inherits 
content only from the interfaces listed within its extends attribute:

"The set of operations available in an interface includes all the operations 
defined by the interfaces it extends, along with any operations it directly 
defines. "

If the first supposition is correct, then what is the use case for being 
able to list more than one extended interface within the extends attribute?

Please advise.  Thanks.

WIN up to $10,000 in cash or prizes  enter the Microsoft Office Live 
Sweepstakes http://clk.atdmt.com/MRT/go/aub0050001581mrt/direct/01/
Received on Thursday, 14 December 2006 15:16:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:31:05 UTC