Re: [xml-dev] What is the diff between "import" vs "include" ?

From
Fraser Goffin <>
To
xml-dev <>
Date
2008-04-15T22:18:09Z
ID
<>
Thread
Re: [xml-dev] What is the diff between "import" vs "include" ?
You may want to split your WSDL into a number of parts for ease of
maintenance. In these cases you will typically use INCLUDE. The XML
schema that define your message parts are often from a different
namespace, in which case they should be IMPORTed.

Fraser.

On 15/04/2008, Ben Stover <> wrote:
> In a WSDL definition I saw an "import" af and *.xsd file and an "include" of an *.xsd schema.
>
> what is the difference?
>
> I assume that "include" just put the *.xsd text into the wrapping *.wsdl file.
> No namespace overridings could take place.
>
> Whereas in an "import" statement namespace overriding could take place.
>
> Is this correct?
>
> Are there any more diffs?
>
> Ben
>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: 
> subscribe: 
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>