W3C home > Mailing lists > Public > www-ws-desc@w3.org > February 2004

Re: WSDL Import/Include Locations

From: Arthur Ryman <ryman@ca.ibm.com>
Date: Fri, 20 Feb 2004 15:24:14 -0500
To: www-ws-desc@w3.org
Message-ID: <OFA1936A1C.2142C587-ON85256E40.006F16EC-85256E40.00701505@ca.ibm.com>
Gudge,

I looked at the spec and the schema and I couldn't see where we prohit two 
or more <import>'s that have the same namespace attribute.

Also, in the case of diamond inheritance, you will end up indirectly 
importing the same WSDL into the component model twice. We allowed this by 
saying if a component is defined twice or more then the definitions must 
be equivalent.

I have been looking at imports and includes in the spec and I think we 
need to clarilfy the situation. If a WSDL directly references a component 
from another namespace, then that namespace MUST be declared in a top 
level import, whereas any components that are directly or indirectly 
included or imported do become part of the component model. The component 
model "forgets" where they come from, yet we do care about where they come 
from by requiring top-level imports. We seem to have two levels at which 
we discuss correctness, namely at the document level (where we have 
imports and includes) and at the component model level (after imports and 
includes are resolved). This is analogous to PSVI. We seem to have the 
notion of a Pre and Post Import/Include Processing Component Model.

Arthur Ryman,
Rational Desktop Tools Development

phone: 905-413-3077, TL 969-3077
assistant: 905-413-2411, TL 969-2411
fax: 905-413-4920, TL 969-4920
intranet: http://w3.torolab.ibm.com/DEAB/

www-ws-desc-request@w3.org wrote on 02/18/2004 06:05:01 PM:

> 
> 
> Martin Gudgin wrote:
> Actually I think our current spec already prohibits multiple imports
> ( or includes ) of components with duplicate names. So while you 
> could do two imports of the same namespace, it would only work if 
> all the components in the second had names different from those in the 
first.
> 
> Gudge
Received on Friday, 20 February 2004 15:25:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:02 UTC