RE: importing docs in the same namespace

+1 -- mirror XML Schema include / import in WSDL

Don

-----Original Message-----
From: Martin Gudgin [mailto:mgudgin@microsoft.com]
Sent: Monday, October 07, 2002 12:26 PM
To: Sanjiva Weerawarana; WS-Desc WG (Public)
Subject: RE: importing docs in the same namespace

[snip]

xsd:include ( like xsd:import ) works at the component level, not the
infoset level. The main differences between the two are as follows:

xsd:import, component based, other namespace, location optional
xsd:include, component based, same namespace, location mandatory
XInclude ( for completeness ), infoset based, same namespace, location
mandatory

The reasoning behind making location optional for xsd:import was that a
given processor may already know about certain namespaces. The reason
behind making location mandatory for xsd:include was that given a
processor is already processing a document with a given targetNamespace
it presumably needs some hint as to how to find the other pieces that
describe said namespace.

I think the cleanest solution is to spec wsdl:import and wsdl:include
the same way the xsd versions work. That way things work the same way in
the wsdl: section of the document as they do in any xsd: sections of the
document.

Gudge

Received on Tuesday, 8 October 2002 12:56:43 UTC