Loading ...
Sorry, an error occurred while loading the content.
 

Re: multiple schemas in WSDL question (was Suggestion?)

Expand Messages
  • simonfell99
    ... Right, I raised the import for soap-enc issue at the last SOAPBuilders F2F. I m less clear on why the WSDL namespace should be imported, I don t recall any
    Message 1 of 22 , May 2, 2002
      --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
      > >
      > >
      > > Imo, the soap-enc namespace _should _ be imported. While current
      > > SoapBuilderWSDLs mainly do not provide this, I don't see why
      > > soap-enc namespace should be exempt from schema rules.
      > I agree with this. Also, the wsdl namespace should be imported.
      > It is not special either. A conforming schema parser should
      > error with the current schemas being generated.

      Right, I raised the import for soap-enc issue at the last
      SOAPBuilders F2F. I'm less clear on why the WSDL namespace should be
      imported, I don't recall any schema constructs that reference the
      WSDL namespace, Care to give an example ?

      Cheers
      Simon
      www.pocketsoap.com
    • Pete Hendry
      soap-enc array definitions in WSDL use wsdl:arrayType Obviously the wsdl schema
      Message 2 of 22 , May 2, 2002
        soap-enc array definitions in WSDL use wsdl:arrayType

          <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd1:Snapshot[]"/>

        Obviously the wsdl schema would only be required if an array was present in the schema.

        Pete

        simonfell99 wrote:
        --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:

        Imo, the soap-enc namespace _should _ be imported. While current
        SoapBuilderWSDLs mainly do not provide this, I don't see why
        soap-enc namespace should be exempt from schema rules.
        I agree with this. Also, the wsdl namespace should be imported. 
        It is not special either. A conforming schema parser should
        error with the current schemas being generated.

        Right, I raised the import for soap-enc issue at the last
        SOAPBuilders F2F. I'm less clear on why the WSDL namespace should be
        imported, I don't recall any schema constructs that reference the
        WSDL namespace, Care to give an example ?

        Cheers
        Simon
        www.pocketsoap.com


        ------------------------ Yahoo! Groups Sponsor ---------------------~-->
        Tied to your PC? Cut Loose and
        Stay connected with Yahoo! Mobile
        http://us.click.yahoo.com/QBCcSD/o1CEAA/sXBHAA/W6uqlB/TM
        ---------------------------------------------------------------------~->

        -----------------------------------------------------------------
        This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Pleas e stay on-topic.

        To unsubscribe from this group, send an email to:
        soapbuilders-unsubscribe@yahoogroups.com



        Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



      • Simon Fell
        Hi, But unlike soap-enc, the wsdl namespace is not used as a value in any of the schema defined element / attribute. Cheers Simon www.pocketsoap.com
        Message 3 of 22 , May 2, 2002
          Hi,

          But unlike soap-enc, the wsdl namespace is not used as a value in any
          of the schema defined element / attribute.

          Cheers
          Simon
          www.pocketsoap.com

          On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:

          >soap-enc array definitions in WSDL use wsdl:arrayType
          >
          > <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd1:Snapshot[]"/>
          >
          >Obviously the wsdl schema would only be required if an array was present
          >in the schema.
          >
          >Pete
          >
          >simonfell99 wrote:
          >
          >>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
          >>
          >>>>
          >>>>Imo, the soap-enc namespace _should _ be imported. While current
          >>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
          >>>>soap-enc namespace should be exempt from schema rules.
          >>>>
          >>>I agree with this. Also, the wsdl namespace should be imported.
          >>>It is not special either. A conforming schema parser should
          >>>error with the current schemas being generated.
          >>>
          >>
          >>Right, I raised the import for soap-enc issue at the last
          >>SOAPBuilders F2F. I'm less clear on why the WSDL namespace should be
          >>imported, I don't recall any schema constructs that reference the
          >>WSDL namespace, Care to give an example ?
          >>
          >>Cheers
          >>Simon
          >>www.pocketsoap.com
          >>
          >>
          >>
          >>-----------------------------------------------------------------
          >>This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.
          >>
          >>To unsubscribe from this group, send an email to:
          >>soapbuilders-unsubscribe@yahoogroups.com
          >>
          >>
          >>
          >>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
          >>
          >>
        • Matt Long
          Yup, U R right! (I think) Since the wsdl namespace does not define an element or attribute in schema, i.e., nothing to validate. Sidebar--I do know that MS-SOM
          Message 4 of 22 , May 3, 2002
            Yup,

            U R right! (I think) Since the wsdl namespace does not define an element
            or attribute in schema, i.e., nothing to validate.

            Sidebar--I do know that MS-SOM can handle it if the wsdl namespace is
            declared (not imported), but soap-enc namespace must be imported (along
            with schemaLocation) to create a workable and/or validate-able SOM.

            Thx,

            -Matt Long
            Phalanx Systems, LLC





            > -----Original Message-----
            > From: Simon Fell [mailto:soap@...]
            > Sent: Thursday, May 02, 2002 9:08 PM
            > To: soapbuilders@yahoogroups.com
            > Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
            > Suggestion?)
            >
            > Hi,
            >
            > But unlike soap-enc, the wsdl namespace is not used as a value in any
            > of the schema defined element / attribute.
            >
            > Cheers
            > Simon
            > www.pocketsoap.com
            >
            > On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
            >
            > >soap-enc array definitions in WSDL use wsdl:arrayType
            > >
            > > <xsd:attribute ref="SOAP-ENC:arrayType"
            > wsdl:arrayType="xsd1:Snapshot[]"/>
            > >
            > >Obviously the wsdl schema would only be required if an array was
            present
            > >in the schema.
            > >
            > >Pete
            > >
            > >simonfell99 wrote:
            > >
            > >>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
            > >>
            > >>>>
            > >>>>Imo, the soap-enc namespace _should _ be imported. While current
            > >>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
            > >>>>soap-enc namespace should be exempt from schema rules.
            > >>>>
            > >>>I agree with this. Also, the wsdl namespace should be imported.
            > >>>It is not special either. A conforming schema parser should
            > >>>error with the current schemas being generated.
            > >>>
            > >>
            > >>Right, I raised the import for soap-enc issue at the last
            > >>SOAPBuilders F2F. I'm less clear on why the WSDL namespace should be
            > >>imported, I don't recall any schema constructs that reference the
            > >>WSDL namespace, Care to give an example ?
            > >>
            > >>Cheers
            > >>Simon
            > >>www.pocketsoap.com
            > >>
            > >>
            > >>
            > >>-----------------------------------------------------------------
            > >>This group is a forum for builders of SOAP implementations to
            discuss
            > implementation and interoperability issues. Please stay on-topic.
            > >>
            > >>To unsubscribe from this group, send an email to:
            > >>soapbuilders-unsubscribe@yahoogroups.com
            > >>
            > >>
            > >>
            > >>Your use of Yahoo! Groups is subject to
            > http://docs.yahoo.com/info/terms/
            > >>
            > >>
            >
            >
            > ------------------------ Yahoo! Groups Sponsor
            >
            > -----------------------------------------------------------------
            > This group is a forum for builders of SOAP implementations to discuss
            > implementation and interoperability issues. Please stay on-topic.
            >
            > To unsubscribe from this group, send an email to:
            > soapbuilders-unsubscribe@yahoogroups.com
            >
            >
            >
            > Your use of Yahoo! Groups is subject to
            http://docs.yahoo.com/info/terms/
            >
          • Pete Hendry
            Does this matter? It is used as a namespace in the schema so should it not be included? Does the definition of anyAttribute in SOAP-ENC:arrayType as lax mean
            Message 5 of 22 , May 3, 2002
              Does this matter? It is used as a namespace in the schema so should it not be included? Does the definition of anyAttribute in SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not need to be resolved to its schema?

              Pete

              Simon Fell wrote:
              Hi,

              But unlike soap-enc, the wsdl namespace is not used as a value in any
              of the schema defined element / attribute.

              Cheers
              Simon
              www.pocketsoap.com

              On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:

              soap-enc array definitions in WSDL use wsdl:arrayType

              <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd1:Snapshot[]"/>

              Obviously the wsdl schema would only be required if an array was present
              in the schema.

              Pete

              simonfell99 wrote:

              --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:

              Imo, the soap-enc namespace _should _ be imported.  While current 
              SoapBuilderWSDLs mainly do not provide this, I don't see why
              soap-enc namespace should be exempt from schema rules.

              I agree with this. Also, the wsdl namespace should be imported. 
              It is not special either. A conforming schema parser should
              error with the current schemas being generated.

              Right, I raised the import for soap-enc issue at the last 
              SOAPBuilders F2F. I'm less clear on why the WSDL namespace should be
              imported, I don't recall any schema constructs that reference the
              WSDL namespace, Care to give an example ?

              Cheers
              Simon
              www.pocketsoap.com



              -----------------------------------------------------------------
              This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.

              To unsubscribe from this group, send an email to:
              soapbuilders-unsubscribe@yahoogroups.com



              Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




              ------------------------ Yahoo! Groups Sponsor ---------------------~-->
              Tied to your PC? Cut Loose and
              Stay connected with Yahoo! Mobile
              http://us.click.yahoo.com/QBCcSD/o1CEAA/sXBHAA/W6uqlB/TM
              ---------------------------------------------------------------------~->

              -----------------------------------------------------------------
              This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.

              To unsubscribe from this group, send an email to:
              soapbuilders-unsubscribe@yahoogroups.com



              Your use of Yahoo! Groups is subject to http://docs.yahoo.com/inf o/terms/



            • Pete Hendry
              ... This is not the general case though is it? If the SOAP-ENC:arrayType attribute were not defined having anyAttribute with processContents= lax then would
              Message 6 of 22 , May 3, 2002
                U R right! (I think) Since the wsdl namespace does not define an element
                or attribute in schema, i.e., nothing to validate.
                This is not the general case though is it? If the SOAP-ENC:arrayType attribute were not defined having anyAttribute with processContents="lax" then would the value of the wsdl:arrayType not have to be validated to make sure it is valid with respect to the schema in which it is defined (e.g. to check it is an int or whatever)? This would require loading the wsdl schema and so would require an import. It gets a bit hairy when you have to go off and find if the definition of an attribute matches an anyAttribute in another schema with processContents="lax". I'd generally rather import the schema for peace of mind. Of course, a conforming parser would work this all out and the schema would not need to be imported (which is what the question was in the first place).

                Rereading that and I'm confusing myself :-)

                Pete

                Sidebar--I do know that MS-SOM can handle it if the wsdl namespace is
                declared (not imported), but soap-enc namespace must be imported (along
                with schemaLocation) to create a workable and/or validate-able SOM.

                Thx,

                -Matt Long
                Phalanx Systems, LLC





                -----Original Message-----
                From: Simon Fell [mailto:soap@...]
                Sent: Thursday, May 02, 2002 9:08 PM
                To: soapbuilders@yahoogroups.com
                Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                Suggestion?)

                Hi,

                But unlike soap-enc, the wsdl namespace is not used as a value in any
                of the schema defined element / attribute.

                Cheers
                Simon
                www.pocketsoap.com

                On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:

                soap-enc array definitions in WSDL use wsdl:arrayType

                <xsd:attribute ref="SOAP-ENC:arrayType"
                wsdl:arrayType="xsd1:Snapshot[]"/>
                Obviously the wsdl schema would only be required if an array was
                present
                in the schema.

                Pete

                simonfell99 wrote:

                --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:

                Imo, the soap-enc namespace _should _ be imported.  While current
                SoapBuilderWSDLs mainly do not provide this, I don't see why
                soap-enc namespace should be exempt from schema rules.

                I agree with this. Also, the wsdl namespace should be imported.
                It is not special either. A conforming schema parser should
                error with the current schemas being generated.

                Right, I raised the import for soap-enc issue at the last
                SOAPBuilders F2F. I'm less clear on why the WSDL namespace should be
                imported, I don't recall any schema constructs that reference the
                WSDL namespace, Care to give an example ?

                Cheers
                Simon
                www.pocketsoap.com



                -----------------------------------------------------------------
                This group is a forum for builders of SOAP implementations to
                discuss
                implementation and interoperability issues.  Please stay on-topic.
                To unsubscribe from this group, send an email to:
                soapbuilders-unsubscribe@yahoogroups.com



                Your use of Yahoo! Groups is subject to
                http://docs.yahoo.com/info/terms/


                ------------------------ Yahoo! Groups Sponsor

                -----------------------------------------------------------------
                This group is a forum for builders of SOAP implementations to discuss
                implementation and interoperability issues. Please stay on-topic.

                To unsubscribe from this group, send an email to:
                soapbuilders-unsubscribe@yahoogroups.com



                Your use of Yahoo! Groups is subject to
                http://docs.yahoo.com/info/terms/



                ------------------------ Yahoo! Groups Sponsor ---------------------~-->
                Tied to your PC? Cut Loose and
                Stay connected with Yahoo! Mobile
                http://us.click.yahoo.com/QBCcSD/o1CEAA/sXBHAA/W6uqlB/TM
                ---------------------------------------------------------------------~->

                -----------------------------------------------------------------
                This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.

                To unsubscribe from this group, send an email to:
                soapbuilders-unsubscribe@yahoogroups.com



                Your use of Yahoo! Groups is subject to h ttp://docs.yahoo.com/info/terms/



              • Matt Long
                Pete, How do you validate something that does not exist, i.e., wsdl:arrayType= xsd:string[,] ? Or is this the right question to even ask, Gudge Help!
                Message 7 of 22 , May 3, 2002

                  Pete,

                   

                  How do you validate something that does not exist, i.e., wsdl:arrayType=”xsd:string[,]”    ?

                   

                  Or is this the right question to even ask,   Gudge Help!

                   

                  Thx,

                   

                  -Matt Long

                  Phalanx Systems, LLC

                   

                   

                  -----Original Message-----
                  From: Pete Hendry [mailto:peter.hendry@...]
                  Sent: Friday, May 03, 2002 7:11 AM
                  To: soapbuilders@yahoogroups.com
                  Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was Suggestion?)

                   

                  U R right! (I think) Since the wsdl namespace does not define an element
                  or attribute in schema, i.e., nothing to validate. 

                  This is not the general case though is it? If the SOAP-ENC:arrayType attribute were not defined having anyAttribute with processContents="lax" then would the value of the wsdl:arrayType not have to be validated to make sure it is valid with respect to the schema in which it is defined (e.g. to check it is an int or whatever)? This would require loading the wsdl schema and so would require an import. It gets a bit hairy when you have to go off and find if the definition of an attribute matches an anyAttribute in another schema with processContents="lax". I'd generally rather import the schema for peace of mind. Of course, a conforming parser would work this all out and the schema would not need to be imported (which is what the question was in the first place).

                  Rereading that and I'm confusing myself :-)

                  Pete


                  Sidebar--I do know that MS-SOM can handle it if the wsdl namespace is
                  declared (not imported), but soap-enc namespace must be imported (along
                  with schemaLocation) to create a workable and/or validate-able SOM.

                  Thx,

                  -Matt Long
                  Phalanx Systems, LLC




                  -----Original Message-----
                  From: Simon Fell [mailto:soap@...]
                  Sent: Thursday, May 02, 2002 9:08 PM
                  To: soapbuilders@yahoogroups.com
                  Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                  Suggestion?)

                  Hi,

                  But unlike soap-enc, the wsdl namespace is not used as a value in any
                  of the schema defined element / attribute.

                  Cheers
                  Simon
                  www.pocketsoap.com

                  On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                  soap-enc array definitions in WSDL use wsdl:arrayType

                   <xsd:attribute ref="SOAP-ENC:arrayType"
                  wsdl:arrayType="xsd1:Snapshot[]"/>
                  Obviously the wsdl schema would only be required if an array was
                  present
                  in the schema.

                  Pete

                  simonfell99 wrote:
                  --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                  Imo, the soap-enc namespace _should _ be imported.  While current
                  SoapBuilderWSDLs mainly do not provide this, I don't see why
                  soap-enc namespace should be exempt from schema rules.
                  I agree with this. Also, the wsdl namespace should be imported.
                  It is not special either. A conforming schema parser should
                  error with the current schemas being generated.
                  Right, I raised the import for soap-enc issue at the last
                  SOAPBuilders F2F. I'm less clear on why the WSDL namespace should be
                  imported, I don't recall any schema constructs that reference the
                  WSDL namespace, Care to give an example ?

                  Cheers
                  Simon
                  www.pocketsoap.com



                  -----------------------------------------------------------------
                  This group is a forum for builders of SOAP implementations to
                  discuss
                  implementation and interoperability issues.  Please stay on-topic.
                  To unsubscribe from this group, send an email to:
                  soapbuilders-unsubscribe@yahoogroups.com



                  Your use of Yahoo! Groups is subject to
                  http://docs.yahoo.com/info/terms/
                    

                  ------------------------ Yahoo! Groups Sponsor

                  -----------------------------------------------------------------
                  This group is a forum for builders of SOAP implementations to discuss
                  implementation and interoperability issues.  Please stay on-topic.

                  To unsubscribe from this group, send an email to:
                  soapbuilders-unsubscribe@yahoogroups.com



                  Your use of Yahoo! Groups is subject to
                  http://docs.yahoo.com/info/terms/



                  ------------------------ Yahoo! Groups Sponsor ---------------------~-->
                  Tied to your PC? Cut Loose and
                  Stay connected with Yahoo! Mobile
                  http://us.click.yahoo.com/QBCcSD/o1CEAA/sXBHAA/W6uqlB/TM
                  ---------------------------------------------------------------------~->

                  -----------------------------------------------------------------
                  This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues.  Please stay on-topic.

                  To unsubscribe from this group, send an email to:
                  soapbuilders-unsubscribe@yahoogroups.com

                   

                  Your use of Yahoo! Groups is subject to h
                  ttp://docs.yahoo.com/info/terms/ 




                  -----------------------------------------------------------------
                  This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues.  Please stay on-topic.

                  To unsubscribe from this group, send an email to:
                  soapbuilders-unsubscribe@yahoogroups.com



                  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
                • simonfell99
                  I don t think there s a requirement for schema documents to import all namespaces that appear in the doc. I had a quick look through the schema spec and didn t
                  Message 8 of 22 , May 3, 2002
                    I don't think there's a requirement for schema documents to import
                    all namespaces that appear in the doc. I had a quick look through the
                    schema spec and didn't spot a section that covered extending schema,
                    i'll have a more detailed look later [unless one of the schema guys
                    want to jump in first]

                    FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                    import [and this is missing from so many docs, that i now have an
                    option in my WSDL tools to insert it if needed :(], but doesn't
                    require an import for wsdl.

                    Cheers
                    Simon
                    www.pocketsoap.com

                    --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                    > Does this matter? It is used as a namespace in the schema so should
                    > it not be included? Does the definition of anyAttribute in
                    > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                    > need to be resolved to its schema?
                    >
                    > Pete
                    >
                    > Simon Fell wrote:
                    >
                    > >Hi,
                    > >
                    > >But unlike soap-enc, the wsdl namespace is not used as a value in
                    any
                    > >of the schema defined element / attribute.
                    > >
                    > >Cheers
                    > >Simon
                    > >www.pocketsoap.com
                    > >
                    > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                    > >
                    > >>soap-enc array definitions in WSDL use wsdl:arrayType
                    > >>
                    > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                    wsdl:arrayType="xsd1:Snapshot[]"/>
                    > >>
                    > >>Obviously the wsdl schema would only be required if an array was
                    present
                    > >>in the schema.
                    > >>
                    > >>Pete
                    > >>
                    > >>simonfell99 wrote:
                    > >>
                    > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                    > >>>
                    > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                    current
                    > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                    > >>>>>soap-enc namespace should be exempt from schema rules.
                    > >>>>>
                    > >>>>I agree with this. Also, the wsdl namespace should be imported.
                    > >>>>It is not special either. A conforming schema parser should
                    > >>>>error with the current schemas being generated.
                    > >>>>
                    > >>>Right, I raised the import for soap-enc issue at the last
                    > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                    should be
                    > >>>imported, I don't recall any schema constructs that reference
                    the
                    > >>>WSDL namespace, Care to give an example ?
                    > >>>
                    > >>>Cheers
                    > >>>Simon
                    > >>>www.pocketsoap.com
                    > >>>
                    > >>>
                    > >>>
                    > >>>-----------------------------------------------------------------
                    > >>>This group is a forum for builders of SOAP implementations to
                    discuss implementation and interoperability issues. Please stay on-
                    topic.
                    > >>>
                    > >>>To unsubscribe from this group, send an email to:
                    > >>>soapbuilders-unsubscribe@y...
                    > >>>
                    > >>>
                    > >>>
                    > >>>Your use of Yahoo! Groups is subject to
                    http://docs.yahoo.com/info/terms/
                    > >>>
                    > >>>
                    > >
                    > >
                    > >
                    > >-----------------------------------------------------------------
                    > >This group is a forum for builders of SOAP implementations to
                    discuss implementation and interoperability issues. Please stay on-
                    topic.
                    > >
                    > >To unsubscribe from this group, send an email to:
                    > >soapbuilders-unsubscribe@y...
                    > >
                    > >
                    > >
                    > >Your use of Yahoo! Groups is subject to
                    http://docs.yahoo.com/info/terms/
                    > >
                    > >
                  • Simon Horrell
                    [inline] Si. ... From: simonfell99 To: Sent: Friday, May 03, 2002 5:52 PM Subject: [soapbuilders] Re:
                    Message 9 of 22 , May 3, 2002
                      [inline]
                      Si.

                      ----- Original Message -----
                      From: "simonfell99" <soap@...>
                      To: <soapbuilders@yahoogroups.com>
                      Sent: Friday, May 03, 2002 5:52 PM
                      Subject: [soapbuilders] Re: multiple schemas in WSDL question (was
                      Suggestion?)


                      > I don't think there's a requirement for schema documents to import
                      > all namespaces that appear in the doc. I had a quick look through the
                      > schema spec and didn't spot a section that covered extending schema,
                      > i'll have a more detailed look later [unless one of the schema guys
                      > want to jump in first]

                      [Si H] I'm *not* one of the schema guys but that is certainly my take. When
                      defining an XML schema, it is possible to reference constructs
                      (complex/simple types, global element/attributes decls, group, attribute
                      groups) from namespaces other than the schema's targetNamespace (let's call
                      them an external namespace). As long as the software that processes the
                      schema document (i.e. a schema processor) is told about (or already knows
                      about) the relationships between the referenced external namespaces and the
                      location of the schemas that describes them before it processes the schema
                      document then everything should be fine. Strikes me that xsd:import is but
                      one way you could specify this relationship. Bear in mind that the location
                      attribute of xsd:import is optional anyway.

                      >
                      > FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                      > import [and this is missing from so many docs, that i now have an
                      > option in my WSDL tools to insert it if needed :(], but doesn't
                      > require an import for wsdl.
                      >
                      > Cheers
                      > Simon
                      > www.pocketsoap.com
                      >
                      > --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                      > > Does this matter? It is used as a namespace in the schema so should
                      > > it not be included? Does the definition of anyAttribute in
                      > > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                      > > need to be resolved to its schema?
                      > >
                      > > Pete
                      > >
                      > > Simon Fell wrote:
                      > >
                      > > >Hi,
                      > > >
                      > > >But unlike soap-enc, the wsdl namespace is not used as a value in
                      > any
                      > > >of the schema defined element / attribute.
                      > > >
                      > > >Cheers
                      > > >Simon
                      > > >www.pocketsoap.com
                      > > >
                      > > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                      > > >
                      > > >>soap-enc array definitions in WSDL use wsdl:arrayType
                      > > >>
                      > > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                      > wsdl:arrayType="xsd1:Snapshot[]"/>
                      > > >>
                      > > >>Obviously the wsdl schema would only be required if an array was
                      > present
                      > > >>in the schema.
                      > > >>
                      > > >>Pete
                      > > >>
                      > > >>simonfell99 wrote:
                      > > >>
                      > > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                      > > >>>
                      > > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                      > current
                      > > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                      > > >>>>>soap-enc namespace should be exempt from schema rules.
                      > > >>>>>
                      > > >>>>I agree with this. Also, the wsdl namespace should be imported.
                      > > >>>>It is not special either. A conforming schema parser should
                      > > >>>>error with the current schemas being generated.
                      > > >>>>
                      > > >>>Right, I raised the import for soap-enc issue at the last
                      > > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                      > should be
                      > > >>>imported, I don't recall any schema constructs that reference
                      > the
                      > > >>>WSDL namespace, Care to give an example ?
                      > > >>>
                      > > >>>Cheers
                      > > >>>Simon
                      > > >>>www.pocketsoap.com
                      > > >>>
                      > > >>>
                      > > >>>
                      > > >>>-----------------------------------------------------------------
                      > > >>>This group is a forum for builders of SOAP implementations to
                      > discuss implementation and interoperability issues. Please stay on-
                      > topic.
                      > > >>>
                      > > >>>To unsubscribe from this group, send an email to:
                      > > >>>soapbuilders-unsubscribe@y...
                      > > >>>
                      > > >>>
                      > > >>>
                      > > >>>Your use of Yahoo! Groups is subject to
                      > http://docs.yahoo.com/info/terms/
                      > > >>>
                      > > >>>
                      > > >
                      > > >
                      > > >
                      > > >-----------------------------------------------------------------
                      > > >This group is a forum for builders of SOAP implementations to
                      > discuss implementation and interoperability issues. Please stay on-
                      > topic.
                      > > >
                      > > >To unsubscribe from this group, send an email to:
                      > > >soapbuilders-unsubscribe@y...
                      > > >
                      > > >
                      > > >
                      > > >Your use of Yahoo! Groups is subject to
                      > http://docs.yahoo.com/info/terms/
                      > > >
                      > > >
                      >
                      >
                      >
                      > -----------------------------------------------------------------
                      > This group is a forum for builders of SOAP implementations to discuss
                      implementation and interoperability issues. Please stay on-topic.
                      >
                      > To unsubscribe from this group, send an email to:
                      > soapbuilders-unsubscribe@yahoogroups.com
                      >
                      >
                      >
                      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                      >
                      >
                    • noah_mendelsohn@us.ibm.com
                      A schema document must import every namespace that is used in a reference to a schema component. Thus, in the following fragment:
                      Message 10 of 22 , May 3, 2002
                        A schema document must import every namespace that is used in a reference
                        to a schema component. Thus, in the following fragment:

                        <xsd:element name="e" type="ns1:t"
                        ns2:randomNonStandardExtensionAttr="ns3:xxx">
                        <xsd:annotation>
                        <xsd:documentation>
                        <html:body> ...</html:body>
                        </xsd:documentation>
                        </xsd:annotation>
                        </xsd:element>

                        ns1 must be imported, because it is used in a reference to a schema type
                        ns1:t. ns2, ns3, and html need not be imported. In the example,

                        <xsd:element name="e" type="xsd:integer"/>

                        I believe there is no need to import xsd, because the built-in types are
                        pre-imported. I believe I opened an issue to the schema WG to clarify
                        this point in future publications.

                        By the way, you need only import things directly referenced. If the type
                        ns1:t above was derived from ns5:base, there would be no need to import
                        ns5 in this schema document. (There almost surely would be such a need in
                        the schema document for the target namespace ns1.) In general, <import>
                        is there to distinguish namespaces for which schema components must be
                        acquired, from all the other random uses of namespaces in a schema
                        document.

                        Hope this helps.

                        ------------------------------------------------------------------
                        Noah Mendelsohn Voice: 1-617-693-4036
                        IBM Corporation Fax: 1-617-693-8676
                        One Rogers Street
                        Cambridge, MA 02142
                        ------------------------------------------------------------------







                        "simonfell99" <soap@...>
                        05/03/02 12:52 PM
                        Please respond to soapbuilders


                        To: soapbuilders@yahoogroups.com
                        cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                        Subject: [soapbuilders] Re: multiple schemas in WSDL question (was Suggestion?)

                        I don't think there's a requirement for schema documents to import
                        all namespaces that appear in the doc. I had a quick look through the
                        schema spec and didn't spot a section that covered extending schema,
                        i'll have a more detailed look later [unless one of the schema guys
                        want to jump in first]

                        FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                        import [and this is missing from so many docs, that i now have an
                        option in my WSDL tools to insert it if needed :(], but doesn't
                        require an import for wsdl.

                        Cheers
                        Simon
                        www.pocketsoap.com

                        --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                        > Does this matter? It is used as a namespace in the schema so should
                        > it not be included? Does the definition of anyAttribute in
                        > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                        > need to be resolved to its schema?
                        >
                        > Pete
                        >
                        > Simon Fell wrote:
                        >
                        > >Hi,
                        > >
                        > >But unlike soap-enc, the wsdl namespace is not used as a value in
                        any
                        > >of the schema defined element / attribute.
                        > >
                        > >Cheers
                        > >Simon
                        > >www.pocketsoap.com
                        > >
                        > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                        > >
                        > >>soap-enc array definitions in WSDL use wsdl:arrayType
                        > >>
                        > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                        wsdl:arrayType="xsd1:Snapshot[]"/>
                        > >>
                        > >>Obviously the wsdl schema would only be required if an array was
                        present
                        > >>in the schema.
                        > >>
                        > >>Pete
                        > >>
                        > >>simonfell99 wrote:
                        > >>
                        > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                        > >>>
                        > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                        current
                        > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                        > >>>>>soap-enc namespace should be exempt from schema rules.
                        > >>>>>
                        > >>>>I agree with this. Also, the wsdl namespace should be imported.
                        > >>>>It is not special either. A conforming schema parser should
                        > >>>>error with the current schemas being generated.
                        > >>>>
                        > >>>Right, I raised the import for soap-enc issue at the last
                        > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                        should be
                        > >>>imported, I don't recall any schema constructs that reference
                        the
                        > >>>WSDL namespace, Care to give an example ?
                        > >>>
                        > >>>Cheers
                        > >>>Simon
                        > >>>www.pocketsoap.com
                        > >>>
                        > >>>
                        > >>>
                        > >>>-----------------------------------------------------------------
                        > >>>This group is a forum for builders of SOAP implementations to
                        discuss implementation and interoperability issues. Please stay on-
                        topic.
                        > >>>
                        > >>>To unsubscribe from this group, send an email to:
                        > >>>soapbuilders-unsubscribe@y...
                        > >>>
                        > >>>
                        > >>>
                        > >>>Your use of Yahoo! Groups is subject to
                        http://docs.yahoo.com/info/terms/
                        > >>>
                        > >>>
                        > >
                        > >
                        > >
                        > >-----------------------------------------------------------------
                        > >This group is a forum for builders of SOAP implementations to
                        discuss implementation and interoperability issues. Please stay on-
                        topic.
                        > >
                        > >To unsubscribe from this group, send an email to:
                        > >soapbuilders-unsubscribe@y...
                        > >
                        > >
                        > >
                        > >Your use of Yahoo! Groups is subject to
                        http://docs.yahoo.com/info/terms/
                        > >
                        > >



                        -----------------------------------------------------------------
                        This group is a forum for builders of SOAP implementations to discuss
                        implementation and interoperability issues. Please stay on-topic.

                        To unsubscribe from this group, send an email to:
                        soapbuilders-unsubscribe@yahoogroups.com



                        Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                      • Matt Long
                        For soap-enc arrays we are referencing soap-enc attributes, e.g., from below, the soap-enc namespace is *required* to be imported. However, the wsdl namespace
                        Message 11 of 22 , May 3, 2002
                          For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                          below, the soap-enc namespace is *required* to be imported. However,
                          the wsdl namespace does not need to be imported as it does not reference
                          an external attribute, simpleType, or complexType.

                          Fair summary?

                          Thx,

                          -Matt Long
                          Phalanx Systems, LLC


                          > -----Original Message-----
                          > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                          > Sent: Friday, May 03, 2002 1:17 PM
                          > To: soapbuilders@yahoogroups.com
                          > Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                          > Suggestion?)
                          >
                          > A schema document must import every namespace that is used in a
                          reference
                          > to a schema component. Thus, in the following fragment:
                          >
                          > <xsd:element name="e" type="ns1:t"
                          > ns2:randomNonStandardExtensionAttr="ns3:xxx">
                          > <xsd:annotation>
                          > <xsd:documentation>
                          > <html:body> ...</html:body>
                          > </xsd:documentation>
                          > </xsd:annotation>
                          > </xsd:element>
                          >
                          > ns1 must be imported, because it is used in a reference to a schema
                          type
                          > ns1:t. ns2, ns3, and html need not be imported. In the example,
                          >
                          > <xsd:element name="e" type="xsd:integer"/>
                          >
                          > I believe there is no need to import xsd, because the built-in types
                          are
                          > pre-imported. I believe I opened an issue to the schema WG to clarify
                          > this point in future publications.
                          >
                          > By the way, you need only import things directly referenced. If the
                          type
                          > ns1:t above was derived from ns5:base, there would be no need to
                          import
                          > ns5 in this schema document. (There almost surely would be such a
                          need in
                          > the schema document for the target namespace ns1.) In general,
                          <import>
                          > is there to distinguish namespaces for which schema components must be
                          > acquired, from all the other random uses of namespaces in a schema
                          > document.
                          >
                          > Hope this helps.
                          >
                          > ------------------------------------------------------------------
                          > Noah Mendelsohn Voice: 1-617-693-4036
                          > IBM Corporation Fax: 1-617-693-8676
                          > One Rogers Street
                          > Cambridge, MA 02142
                          > ------------------------------------------------------------------
                          >
                          >
                          >
                          >
                          >
                          >
                          >
                          > "simonfell99" <soap@...>
                          > 05/03/02 12:52 PM
                          > Please respond to soapbuilders
                          >
                          >
                          > To: soapbuilders@yahoogroups.com
                          > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                          > Subject: [soapbuilders] Re: multiple schemas in WSDL
                          > question (was Suggestion?)
                          >
                          > I don't think there's a requirement for schema documents to import
                          > all namespaces that appear in the doc. I had a quick look through the
                          > schema spec and didn't spot a section that covered extending schema,
                          > i'll have a more detailed look later [unless one of the schema guys
                          > want to jump in first]
                          >
                          > FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                          > import [and this is missing from so many docs, that i now have an
                          > option in my WSDL tools to insert it if needed :(], but doesn't
                          > require an import for wsdl.
                          >
                          > Cheers
                          > Simon
                          > www.pocketsoap.com
                          >
                          > --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                          > > Does this matter? It is used as a namespace in the schema so should
                          > > it not be included? Does the definition of anyAttribute in
                          > > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                          > > need to be resolved to its schema?
                          > >
                          > > Pete
                          > >
                          > > Simon Fell wrote:
                          > >
                          > > >Hi,
                          > > >
                          > > >But unlike soap-enc, the wsdl namespace is not used as a value in
                          > any
                          > > >of the schema defined element / attribute.
                          > > >
                          > > >Cheers
                          > > >Simon
                          > > >www.pocketsoap.com
                          > > >
                          > > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                          > > >
                          > > >>soap-enc array definitions in WSDL use wsdl:arrayType
                          > > >>
                          > > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                          > wsdl:arrayType="xsd1:Snapshot[]"/>
                          > > >>
                          > > >>Obviously the wsdl schema would only be required if an array was
                          > present
                          > > >>in the schema.
                          > > >>
                          > > >>Pete
                          > > >>
                          > > >>simonfell99 wrote:
                          > > >>
                          > > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                          > > >>>
                          > > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                          > current
                          > > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                          > > >>>>>soap-enc namespace should be exempt from schema rules.
                          > > >>>>>
                          > > >>>>I agree with this. Also, the wsdl namespace should be imported.
                          > > >>>>It is not special either. A conforming schema parser should
                          > > >>>>error with the current schemas being generated.
                          > > >>>>
                          > > >>>Right, I raised the import for soap-enc issue at the last
                          > > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                          > should be
                          > > >>>imported, I don't recall any schema constructs that reference
                          > the
                          > > >>>WSDL namespace, Care to give an example ?
                          > > >>>
                          > > >>>Cheers
                          > > >>>Simon
                          > > >>>www.pocketsoap.com
                          > > >>>
                          > > >>>
                          > > >>>
                          > > >>>-----------------------------------------------------------------
                          > > >>>This group is a forum for builders of SOAP implementations to
                          > discuss implementation and interoperability issues. Please stay on-
                          > topic.
                          > > >>>
                          > > >>>To unsubscribe from this group, send an email to:
                          > > >>>soapbuilders-unsubscribe@y...
                          > > >>>
                          > > >>>
                          > > >>>
                          > > >>>Your use of Yahoo! Groups is subject to
                          > http://docs.yahoo.com/info/terms/
                          > > >>>
                          > > >>>
                          > > >
                          > > >
                          > > >
                          > > >-----------------------------------------------------------------
                          > > >This group is a forum for builders of SOAP implementations to
                          > discuss implementation and interoperability issues. Please stay on-
                          > topic.
                          > > >
                          > > >To unsubscribe from this group, send an email to:
                          > > >soapbuilders-unsubscribe@y...
                          > > >
                          > > >
                          > > >
                          > > >Your use of Yahoo! Groups is subject to
                          > http://docs.yahoo.com/info/terms/
                          > > >
                          > > >
                          >
                          >
                          >
                          > -----------------------------------------------------------------
                          > This group is a forum for builders of SOAP implementations to discuss
                          > implementation and interoperability issues. Please stay on-topic.
                          >
                          > To unsubscribe from this group, send an email to:
                          > soapbuilders-unsubscribe@yahoogroups.com
                          >
                          >
                          >
                          > Your use of Yahoo! Groups is subject to
                          http://docs.yahoo.com/info/terms/
                          >
                          >
                          >
                          >
                          >
                          >
                          > ------------------------ Yahoo! Groups Sponsor
                          >
                          > -----------------------------------------------------------------
                          > This group is a forum for builders of SOAP implementations to discuss
                          > implementation and interoperability issues. Please stay on-topic.
                          >
                          > To unsubscribe from this group, send an email to:
                          > soapbuilders-unsubscribe@yahoogroups.com
                          >
                          >
                          >
                          > Your use of Yahoo! Groups is subject to
                          http://docs.yahoo.com/info/terms/
                          >
                        • Simon Fell
                          sounds good to me. Cheers Simon www.pocketsoap.com
                          Message 12 of 22 , May 3, 2002
                            sounds good to me.

                            Cheers
                            Simon
                            www.pocketsoap.com

                            On Fri, 3 May 2002 14:38:33 -0500, in soap you wrote:

                            >For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                            >below, the soap-enc namespace is *required* to be imported. However,
                            >the wsdl namespace does not need to be imported as it does not reference
                            >an external attribute, simpleType, or complexType.
                            >
                            >Fair summary?
                            >
                            >Thx,
                            >
                            >-Matt Long
                            >Phalanx Systems, LLC
                            >
                            >
                            >> -----Original Message-----
                            >> From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                            >> Sent: Friday, May 03, 2002 1:17 PM
                            >> To: soapbuilders@yahoogroups.com
                            >> Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                            >> Suggestion?)
                            >>
                            >> A schema document must import every namespace that is used in a
                            >reference
                            >> to a schema component. Thus, in the following fragment:
                            >>
                            >> <xsd:element name="e" type="ns1:t"
                            >> ns2:randomNonStandardExtensionAttr="ns3:xxx">
                            >> <xsd:annotation>
                            >> <xsd:documentation>
                            >> <html:body> ...</html:body>
                            >> </xsd:documentation>
                            >> </xsd:annotation>
                            >> </xsd:element>
                            >>
                            >> ns1 must be imported, because it is used in a reference to a schema
                            >type
                            >> ns1:t. ns2, ns3, and html need not be imported. In the example,
                            >>
                            >> <xsd:element name="e" type="xsd:integer"/>
                            >>
                            >> I believe there is no need to import xsd, because the built-in types
                            >are
                            >> pre-imported. I believe I opened an issue to the schema WG to clarify
                            >> this point in future publications.
                            >>
                            >> By the way, you need only import things directly referenced. If the
                            >type
                            >> ns1:t above was derived from ns5:base, there would be no need to
                            >import
                            >> ns5 in this schema document. (There almost surely would be such a
                            >need in
                            >> the schema document for the target namespace ns1.) In general,
                            ><import>
                            >> is there to distinguish namespaces for which schema components must be
                            >> acquired, from all the other random uses of namespaces in a schema
                            >> document.
                            >>
                            >> Hope this helps.
                            >>
                            >> ------------------------------------------------------------------
                            >> Noah Mendelsohn Voice: 1-617-693-4036
                            >> IBM Corporation Fax: 1-617-693-8676
                            >> One Rogers Street
                            >> Cambridge, MA 02142
                            >> ------------------------------------------------------------------
                            >>
                            >>
                            >>
                            >>
                            >>
                            >>
                            >>
                            >> "simonfell99" <soap@...>
                            >> 05/03/02 12:52 PM
                            >> Please respond to soapbuilders
                            >>
                            >>
                            >> To: soapbuilders@yahoogroups.com
                            >> cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                            >> Subject: [soapbuilders] Re: multiple schemas in WSDL
                            >> question (was Suggestion?)
                            >>
                            >> I don't think there's a requirement for schema documents to import
                            >> all namespaces that appear in the doc. I had a quick look through the
                            >> schema spec and didn't spot a section that covered extending schema,
                            >> i'll have a more detailed look later [unless one of the schema guys
                            >> want to jump in first]
                            >>
                            >> FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                            >> import [and this is missing from so many docs, that i now have an
                            >> option in my WSDL tools to insert it if needed :(], but doesn't
                            >> require an import for wsdl.
                            >>
                            >> Cheers
                            >> Simon
                            >> www.pocketsoap.com
                            >>
                            >> --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                            >> > Does this matter? It is used as a namespace in the schema so should
                            >> > it not be included? Does the definition of anyAttribute in
                            >> > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                            >> > need to be resolved to its schema?
                            >> >
                            >> > Pete
                            >> >
                            >> > Simon Fell wrote:
                            >> >
                            >> > >Hi,
                            >> > >
                            >> > >But unlike soap-enc, the wsdl namespace is not used as a value in
                            >> any
                            >> > >of the schema defined element / attribute.
                            >> > >
                            >> > >Cheers
                            >> > >Simon
                            >> > >www.pocketsoap.com
                            >> > >
                            >> > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                            >> > >
                            >> > >>soap-enc array definitions in WSDL use wsdl:arrayType
                            >> > >>
                            >> > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                            >> wsdl:arrayType="xsd1:Snapshot[]"/>
                            >> > >>
                            >> > >>Obviously the wsdl schema would only be required if an array was
                            >> present
                            >> > >>in the schema.
                            >> > >>
                            >> > >>Pete
                            >> > >>
                            >> > >>simonfell99 wrote:
                            >> > >>
                            >> > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                            >> > >>>
                            >> > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                            >> current
                            >> > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                            >> > >>>>>soap-enc namespace should be exempt from schema rules.
                            >> > >>>>>
                            >> > >>>>I agree with this. Also, the wsdl namespace should be imported.
                            >> > >>>>It is not special either. A conforming schema parser should
                            >> > >>>>error with the current schemas being generated.
                            >> > >>>>
                            >> > >>>Right, I raised the import for soap-enc issue at the last
                            >> > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                            >> should be
                            >> > >>>imported, I don't recall any schema constructs that reference
                            >> the
                            >> > >>>WSDL namespace, Care to give an example ?
                            >> > >>>
                            >> > >>>Cheers
                            >> > >>>Simon
                            >> > >>>www.pocketsoap.com
                            >> > >>>
                            >> > >>>
                            >> > >>>
                            >> > >>>-----------------------------------------------------------------
                            >> > >>>This group is a forum for builders of SOAP implementations to
                            >> discuss implementation and interoperability issues. Please stay on-
                            >> topic.
                            >> > >>>
                            >> > >>>To unsubscribe from this group, send an email to:
                            >> > >>>soapbuilders-unsubscribe@y...
                            >> > >>>
                            >> > >>>
                            >> > >>>
                            >> > >>>Your use of Yahoo! Groups is subject to
                            >> http://docs.yahoo.com/info/terms/
                            >> > >>>
                            >> > >>>
                            >> > >
                            >> > >
                            >> > >
                            >> > >-----------------------------------------------------------------
                            >> > >This group is a forum for builders of SOAP implementations to
                            >> discuss implementation and interoperability issues. Please stay on-
                            >> topic.
                            >> > >
                            >> > >To unsubscribe from this group, send an email to:
                            >> > >soapbuilders-unsubscribe@y...
                            >> > >
                            >> > >
                            >> > >
                            >> > >Your use of Yahoo! Groups is subject to
                            >> http://docs.yahoo.com/info/terms/
                            >> > >
                            >> > >
                            >>
                            >>
                            >>
                            >> -----------------------------------------------------------------
                            >> This group is a forum for builders of SOAP implementations to discuss
                            >> implementation and interoperability issues. Please stay on-topic.
                            >>
                            >> To unsubscribe from this group, send an email to:
                            >> soapbuilders-unsubscribe@yahoogroups.com
                            >>
                            >>
                            >>
                            >> Your use of Yahoo! Groups is subject to
                            >http://docs.yahoo.com/info/terms/
                            >>
                            >>
                            >>
                            >>
                            >>
                            >>
                            >> ------------------------ Yahoo! Groups Sponsor
                            >>
                            >> -----------------------------------------------------------------
                            >> This group is a forum for builders of SOAP implementations to discuss
                            >> implementation and interoperability issues. Please stay on-topic.
                            >>
                            >> To unsubscribe from this group, send an email to:
                            >> soapbuilders-unsubscribe@yahoogroups.com
                            >>
                            >>
                            >>
                            >> Your use of Yahoo! Groups is subject to
                            >http://docs.yahoo.com/info/terms/
                            >>
                            >
                            >
                            >
                            >
                            >-----------------------------------------------------------------
                            >This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.
                            >
                            >To unsubscribe from this group, send an email to:
                            >soapbuilders-unsubscribe@yahoogroups.com
                            >
                            >
                            >
                            >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                            >
                          • Pete Hendry
                            I m not disagreeing, just making sure I understand for the case of wsdl. If I have
                            Message 13 of 22 , May 3, 2002
                              I'm not disagreeing, just making sure I understand for the case of wsdl. If I have
                               

                              <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd1:Snapshot[]"/>

                              and I am parsing this schema, then why do I not need to get the wsdl schema and check the type of the wsdl:arrayType attribute (which happens to be "string" but could have been anything else). To make sure this schema is valid I have to check the type of this attribute which requires getting the wsdl schema?

                              I see what is being said about requiring it if it is referenced from a value, but why not in the case above?

                              Pete
                                 

                              Simon Fell wrote:
                              sounds good to me.

                              Cheers
                              Simon
                              www.pocketsoap.com

                              On Fri, 3 May 2002 14:38:33 -0500, in soap you wrote:

                              For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                              below, the soap-enc namespace is *required* to be imported. However,
                              the wsdl namespace does not need to be imported as it does not reference
                              an external attribute, simpleType, or complexType.

                              Fair summary?

                              Thx,

                              -Matt Long
                              Phalanx Systems, LLC


                              -----Original Message-----
                              From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                              Sent: Friday, May 03, 2002 1:17 PM
                              To: soapbuilders@yahoogroups.com
                              Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                              Suggestion?)

                              A schema document must import every namespace that is used in a
                              reference
                              to a schema component.  Thus, in the following fragment:

                              <xsd:element name="e" type="ns1:t"
                              ns2:randomNonStandardExtensionAttr="ns3:xxx">
                              <xsd:annotation>
                              <xsd:documentation>
                              <html:body> ...</html:body>
                              </xsd:documentation>
                              </xsd:annotation>
                              </xsd:element>

                              ns1 must be imported, because it is used in a reference to a schema
                              type
                              ns1:t.  ns2, ns3, and html need not be imported.  In the example,

                              <xsd:element name="e" type="xsd:integer"/>

                              I believe there is no need to import xsd, because the built-in types
                              are
                              pre-imported.  I believe I opened an issue to the schema WG to clarify
                              this point in future publications.

                              By the way, you need only import things directly referenced. If the
                              type
                              ns1:t above was derived from ns5:base, there would be no need to
                              import
                              ns5 in this schema document.  (There almost surely would be such a
                              need in
                              the schema document for the target namespace ns1.)    In general,
                              <import>
                              is there to distinguish namespaces for which schema components must be
                              acquired, from all the other random uses of namespaces in a schema
                              document.

                              Hope this helps.

                              ------------------------------------------------------------------
                              Noah Mendelsohn Voice: 1-617-693-4036
                              IBM Corporation Fax: 1-617-693-8676
                              One Rogers Street
                              Cambridge, MA 02142
                              ------------------------------------------------------------------







                              "simonfell99" <soap@...>
                              05/03/02 12:52 PM
                              Please respond to soapbuilders


                              To: soapbuilders@yahoogroups.com
                              cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                              Subject: [soapbuilders] Re: multip le schemas in WSDL
                              question (was Suggestion?)

                              I don't think there's a requirement for schema documents to import
                              all namespaces that appear in the doc. I had a quick look through the
                              schema spec and didn't spot a section that covered extending schema,
                              i'll have a more detailed look later [unless one of the schema guys
                              want to jump in first]

                              FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                              import [and this is missing from so many docs, that i now have an
                              option in my WSDL tools to insert it if needed :(], but doesn't
                              require an import for wsdl.

                              Cheers
                              Simon
                              www.pocketsoap.com

                              --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                              Does this matter? It is used as a namespace in the schema so should
                              it not be included? Does the definition of anyAttribute in
                              SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                              need to be resolved to its schema?

                              Pete

                              Simon Fell wrote:

                              Hi,

                              But unlike soap-enc, the wsdl namespace is not used as a value in
                              any
                              of the schema defined element / attribute.

                              Cheers
                              Simon
                              www.pocketsoap.com

                              On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:

                              soap-enc array definitions in WSDL use wsdl:arrayType

                              <xsd:attribute ref="SOAP-ENC:arrayType"
                              wsdl:arrayType="xsd1:Snapshot[]"/>
                              Obviously the wsdl schema would only be required if an array was
                              present
                              in the schema.

                              Pete

                              simonfell99 wrote:

                              --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:

                              Imo, the soap-enc namespace _should _ be imported.  While
                              current
                              SoapBuilderWSDLs mainly do not provide this, I don't see why
                              soap-enc namespace should be exempt from schema rules.

                              I agree with this. Also, the wsdl namespace should be imported.
                              It is not special either. A conforming schema parser should
                              error with the current schemas being generated.

                              Right, I raised the import for soap-enc issue at the last
                              SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                              should be
                              imported, I don't recall any schema constructs that reference
                              the
                              WSDL namespace, Care to give an example ?

                              Cheers
                              Simon
                              www.pocketsoap.com



                              -----------------------------------------------------------------
                              This group is a forum for builders of SOAP implementations to
                              discuss implementation and interoperability issues.  Please stay on-
                              topic.
                              To unsubscribe from this group, send an email to:
                              soapbuilders-unsubscribe@y...



                              Your use of Yahoo! Groups is subject to
                              http://docs.yahoo.com/info/terms/



                              -----------------------------------------------------------------
                              This group is a forum for builders of SOAP implementations to
                              discuss implementation and interoperability issues.  Please stay on-
                              topic.
                              To unsubscribe from this group, send an email to:
                              soapbuilders-unsubscribe@y...



                              Your use of Yahoo! Groups is subject to
                              http://docs.yahoo.com/info/terms/



                              -----------------------------------------------------------------
                              This group is a forum for builders of SOAP implementations to discuss
                              implementation and interoperability issues. Please stay on-topic.

                              To unsubscribe from this group, send an email to:
                              soapbuilders-unsubscribe@yahoogroups.com



                              Your use of Yahoo! Groups is subject to
                              http://docs.yahoo.com/info/terms/





                              ------------------------ Yahoo! Groups Sponsor

                              -----------------------------------------------------------------
                              This group is a forum for builders of SOAP implementations to discuss
                              implementation and interoperability issues. Please stay on-topic.

                              To unsubscribe from this group, send an email to:
                              soapbuilders-unsubscribe@yahoogroups.com



                              Your use of Yahoo! Groups is subject to
                              http://docs.yahoo.com/info/terms/



                              -----------------------------------------------------------------
                              This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.

                              To unsubscribe from this group, send an email to:
                              soapbuilders-unsubscribe@yahoogroups.com



                              Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



                              ------------------------ Yahoo! Groups Sponsor ---------------------~-->
                              Tied to your PC? Cut Loose and
                              Stay connected with Yahoo! Mobile
                              http://us.click.yahoo.com/QBCcSD/o1CEAA/sXBHAA/W6uqlB/TM
                              ---------------------------------------------------------------------~->

                              -----------------------------------------------------------------
                              This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.

                              To unsubscribe from this group, send an email to:
                              soapbuilders-unsubscribe@yahoogroups.com



                              Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



                            • Simon Fell
                              right, _Your_ processing might require the schema for the wsdl namespace, but that doesn t mean that XSD mandates an element. How is this
                              Message 14 of 22 , May 3, 2002
                                right, _Your_ processing might require the schema for the wsdl
                                namespace, but that doesn't mean that XSD mandates an <xsd:import>
                                element.

                                How is this different to a validating soap server ?, i have one that
                                takes messages like
                                <Envelope xmlns="...">
                                <Body>
                                <foo xmlns="urn:example.org">
                                </foo>
                                </Body>
                                </Envelope>

                                My processing requires access to a schema for urn:example.org to
                                validate the message, but that doesn't change the format of the
                                message.

                                If you want to handle wsdl:arrayType, then you need to know the
                                metadata that its a string (of a particular format), but that metadata
                                doesn't have to be fetched from a schema. [in my WSDL impl, its hard
                                coded, its not like it can change]. Of course, if you're building
                                something that handles arbitrary schema extensions, then the schema
                                would be nice, but shouldn't require <xsd:imports> in the schema
                                document.

                                Cheers
                                Simon
                                www.pocketsoap.com

                                On Sat, 04 May 2002 13:21:14 +1200, in soap you wrote:

                                >I'm not disagreeing, just making sure I understand for the case of wsdl.
                                >If I have
                                >
                                >
                                ><xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd1:Snapshot[]"/>
                                >
                                >and I am parsing this schema, then why do I not need to get the wsdl schema and check the type of the wsdl:arrayType attribute (which happens to be "string" but could have been anything else). To make sure this schema is valid I have to check the type of this attribute which requires getting the wsdl schema?
                                >
                                >I see what is being said about requiring it if it is referenced from a value, but why not in the case above?
                                >
                                >Pete
                                >
                                >
                                >
                                >Simon Fell wrote:
                                >
                                >>sounds good to me.
                                >>
                                >>Cheers
                                >>Simon
                                >>www.pocketsoap.com
                                >>
                                >>On Fri, 3 May 2002 14:38:33 -0500, in soap you wrote:
                                >>
                                >>>For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                                >>>below, the soap-enc namespace is *required* to be imported. However,
                                >>>the wsdl namespace does not need to be imported as it does not reference
                                >>>an external attribute, simpleType, or complexType.
                                >>>
                                >>>Fair summary?
                                >>>
                                >>>Thx,
                                >>>
                                >>>-Matt Long
                                >>>Phalanx Systems, LLC
                                >>>
                                >>>
                                >>>>-----Original Message-----
                                >>>>From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                >>>>Sent: Friday, May 03, 2002 1:17 PM
                                >>>>To: soapbuilders@yahoogroups.com
                                >>>>Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                                >>>>Suggestion?)
                                >>>>
                                >>>>A schema document must import every namespace that is used in a
                                >>>>
                                >>>reference
                                >>>
                                >>>>to a schema component. Thus, in the following fragment:
                                >>>>
                                >>>> <xsd:element name="e" type="ns1:t"
                                >>>>ns2:randomNonStandardExtensionAttr="ns3:xxx">
                                >>>> <xsd:annotation>
                                >>>> <xsd:documentation>
                                >>>> <html:body> ...</html:body>
                                >>>> </xsd:documentation>
                                >>>> </xsd:annotation>
                                >>>> </xsd:element>
                                >>>>
                                >>>>ns1 must be imported, because it is used in a reference to a schema
                                >>>>
                                >>>type
                                >>>
                                >>>>ns1:t. ns2, ns3, and html need not be imported. In the example,
                                >>>>
                                >>>> <xsd:element name="e" type="xsd:integer"/>
                                >>>>
                                >>>>I believe there is no need to import xsd, because the built-in types
                                >>>>
                                >>>are
                                >>>
                                >>>>pre-imported. I believe I opened an issue to the schema WG to clarify
                                >>>>this point in future publications.
                                >>>>
                                >>>>By the way, you need only import things directly referenced. If the
                                >>>>
                                >>>type
                                >>>
                                >>>>ns1:t above was derived from ns5:base, there would be no need to
                                >>>>
                                >>>import
                                >>>
                                >>>>ns5 in this schema document. (There almost surely would be such a
                                >>>>
                                >>>need in
                                >>>
                                >>>>the schema document for the target namespace ns1.) In general,
                                >>>>
                                >>><import>
                                >>>
                                >>>>is there to distinguish namespaces for which schema components must be
                                >>>>acquired, from all the other random uses of namespaces in a schema
                                >>>>document.
                                >>>>
                                >>>>Hope this helps.
                                >>>>
                                >>>>------------------------------------------------------------------
                                >>>>Noah Mendelsohn Voice: 1-617-693-4036
                                >>>>IBM Corporation Fax: 1-617-693-8676
                                >>>>One Rogers Street
                                >>>>Cambridge, MA 02142
                                >>>>------------------------------------------------------------------
                                >>>>
                                >>>>
                                >>>>
                                >>>>
                                >>>>
                                >>>>
                                >>>>
                                >>>>"simonfell99" <soap@...>
                                >>>>05/03/02 12:52 PM
                                >>>>Please respond to soapbuilders
                                >>>>
                                >>>>
                                >>>> To: soapbuilders@yahoogroups.com
                                >>>> cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                >>>> Subject: [soapbuilders] Re: multiple schemas in WSDL
                                >>>>question (was Suggestion?)
                                >>>>
                                >>>>I don't think there's a requirement for schema documents to import
                                >>>>all namespaces that appear in the doc. I had a quick look through the
                                >>>>schema spec and didn't spot a section that covered extending schema,
                                >>>>i'll have a more detailed look later [unless one of the schema guys
                                >>>>want to jump in first]
                                >>>>
                                >>>>FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                                >>>>import [and this is missing from so many docs, that i now have an
                                >>>>option in my WSDL tools to insert it if needed :(], but doesn't
                                >>>>require an import for wsdl.
                                >>>>
                                >>>>Cheers
                                >>>>Simon
                                >>>>www.pocketsoap.com
                                >>>>
                                >>>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                >>>>
                                >>>>>Does this matter? It is used as a namespace in the schema so should
                                >>>>>it not be included? Does the definition of anyAttribute in
                                >>>>>SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                                >>>>>need to be resolved to its schema?
                                >>>>>
                                >>>>>Pete
                                >>>>>
                                >>>>>Simon Fell wrote:
                                >>>>>
                                >>>>>>Hi,
                                >>>>>>
                                >>>>>>But unlike soap-enc, the wsdl namespace is not used as a value in
                                >>>>>>
                                >>>>any
                                >>>>
                                >>>>>>of the schema defined element / attribute.
                                >>>>>>
                                >>>>>>Cheers
                                >>>>>>Simon
                                >>>>>>www.pocketsoap.com
                                >>>>>>
                                >>>>>>On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                                >>>>>>
                                >>>>>>>soap-enc array definitions in WSDL use wsdl:arrayType
                                >>>>>>>
                                >>>>>>><xsd:attribute ref="SOAP-ENC:arrayType"
                                >>>>>>>
                                >>>>wsdl:arrayType="xsd1:Snapshot[]"/>
                                >>>>
                                >>>>>>>Obviously the wsdl schema would only be required if an array was
                                >>>>>>>
                                >>>>present
                                >>>>
                                >>>>>>>in the schema.
                                >>>>>>>
                                >>>>>>>Pete
                                >>>>>>>
                                >>>>>>>simonfell99 wrote:
                                >>>>>>>
                                >>>>>>>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                >>>>>>>>
                                >>>>>>>>>>Imo, the soap-enc namespace _should _ be imported. While
                                >>>>>>>>>>
                                >>>>current
                                >>>>
                                >>>>>>>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                                >>>>>>>>>>soap-enc namespace should be exempt from schema rules.
                                >>>>>>>>>>
                                >>>>>>>>>I agree with this. Also, the wsdl namespace should be imported.
                                >>>>>>>>>It is not special either. A conforming schema parser should
                                >>>>>>>>>error with the current schemas being generated.
                                >>>>>>>>>
                                >>>>>>>>Right, I raised the import for soap-enc issue at the last
                                >>>>>>>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                                >>>>>>>>
                                >>>>should be
                                >>>>
                                >>>>>>>>imported, I don't recall any schema constructs that reference
                                >>>>>>>>
                                >>>>the
                                >>>>
                                >>>>>>>>WSDL namespace, Care to give an example ?
                                >>>>>>>>
                                >>>>>>>>Cheers
                                >>>>>>>>Simon
                                >>>>>>>>www.pocketsoap.com
                                >>>>>>>>
                                >>>>>>>>
                                >>>>>>>>
                                >>>>>>>>-----------------------------------------------------------------
                                >>>>>>>>This group is a forum for builders of SOAP implementations to
                                >>>>>>>>
                                >>>>discuss implementation and interoperability issues. Please stay on-
                                >>>>topic.
                                >>>>
                                >>>>>>>>To unsubscribe from this group, send an email to:
                                >>>>>>>>soapbuilders-unsubscribe@y...
                                >>>>>>>>
                                >>>>>>>>
                                >>>>>>>>
                                >>>>>>>>Your use of Yahoo! Groups is subject to
                                >>>>>>>>
                                >>>>http://docs.yahoo.com/info/terms/
                                >>>>
                                >>>>>>>>
                                >>>>>>
                                >>>>>>
                                >>>>>>-----------------------------------------------------------------
                                >>>>>>This group is a forum for builders of SOAP implementations to
                                >>>>>>
                                >>>>discuss implementation and interoperability issues. Please stay on-
                                >>>>topic.
                                >>>>
                                >>>>>>To unsubscribe from this group, send an email to:
                                >>>>>>soapbuilders-unsubscribe@y...
                                >>>>>>
                                >>>>>>
                                >>>>>>
                                >>>>>>Your use of Yahoo! Groups is subject to
                                >>>>>>
                                >>>>http://docs.yahoo.com/info/terms/
                                >>>>
                                >>>>>>
                                >>>>
                                >>>>
                                >>>>-----------------------------------------------------------------
                                >>>>This group is a forum for builders of SOAP implementations to discuss
                                >>>>implementation and interoperability issues. Please stay on-topic.
                                >>>>
                                >>>>To unsubscribe from this group, send an email to:
                                >>>>soapbuilders-unsubscribe@yahoogroups.com
                                >>>>
                                >>>>
                                >>>>
                                >>>>Your use of Yahoo! Groups is subject to
                                >>>>
                                >>>http://docs.yahoo.com/info/terms/
                                >>>
                                >>>>
                                >>>>
                                >>>>
                                >>>>
                                >>>>
                                >>>>------------------------ Yahoo! Groups Sponsor
                                >>>>
                                >>>>-----------------------------------------------------------------
                                >>>>This group is a forum for builders of SOAP implementations to discuss
                                >>>>implementation and interoperability issues. Please stay on-topic.
                                >>>>
                                >>>>To unsubscribe from this group, send an email to:
                                >>>>soapbuilders-unsubscribe@yahoogroups.com
                                >>>>
                                >>>>
                                >>>>
                                >>>>Your use of Yahoo! Groups is subject to
                                >>>>
                                >>>http://docs.yahoo.com/info/terms/
                                >>>
                                >>>
                                >>>
                                >>>
                                >>>-----------------------------------------------------------------
                                >>>This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.
                                >>>
                                >>>To unsubscribe from this group, send an email to:
                                >>>soapbuilders-unsubscribe@yahoogroups.com
                                >>>
                                >>>
                                >>>
                                >>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                                >>>
                                >>
                                >>
                                >>
                                >>-----------------------------------------------------------------
                                >>This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.
                                >>
                                >>To unsubscribe from this group, send an email to:
                                >>soapbuilders-unsubscribe@yahoogroups.com
                                >>
                                >>
                                >>
                                >>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                                >>
                                >>
                              • Matt Long
                                Pete, Here s my spin. The attributes references SOAP-ENC:arrayType which requires
                                Message 15 of 22 , May 4, 2002

                                  Pete,

                                   

                                  Here’s my spin…

                                   

                                              <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd1:Snapshot[]"/>

                                   

                                  The attributes references “SOAP-ENC:arrayType” which requires access to the SOAP-ENC namespace, i.e., through <xsd:import…>.  The arbitrary “wsdl:arrayType” is not a reference to an attribute, simpleType, or complexType and only requires that the namespace of “wsdl” be declared, i.e., xmlns:wsdl=”…”. 

                                   

                                  I believe the above rules create valid schema;  _notice_ that this states nothing about the context of the “wsdl:arrayType” value.  The context of this attribute value only has meaning to the _WSDL Processor_ not the _Schema Processor_.

                                   

                                  Thx,

                                   

                                  -Matt Long

                                  Phalanx Systems, LLC

                                   

                                   

                                   

                                   

                                  -----Original Message-----
                                  From: Pete Hendry [mailto:peter.hendry@...]
                                  Sent: Friday, May 03, 2002 8:21 PM
                                  To: soapbuilders@yahoogroups.com
                                  Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was Suggestion?)

                                   

                                  I'm not disagreeing, just making sure I understand for the case of wsdl. If I have
                                   


                                  <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd1:Snapshot[]"/>

                                  and I am parsing this schema, then why do I not need to get the wsdl schema and check the type of the wsdl:arrayType attribute (which happens to be "string" but could have been anything else). To make sure this schema is valid I have to check the type of this attribute which requires getting the wsdl schema?

                                  I see what is being said about requiring it if it is referenced from a value, but why not in the case above?

                                  Pete

                                     

                                  Simon Fell wrote:

                                  sounds good to me.

                                  Cheers
                                  Simon
                                  www.pocketsoap.com

                                  On Fri, 3 May 2002 14:38:33 -0500, in soap you wrote:
                                  For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                                  below, the soap-enc namespace is *required* to be imported.  However,
                                  the wsdl namespace does not need to be imported as it does not reference
                                  an external attribute, simpleType, or complexType.

                                  Fair summary?

                                  Thx,

                                  -Matt Long
                                  Phalanx Systems, LLC

                                  -----Original Message-----
                                  From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                  Sent: Friday, May 03, 2002 1:17 PM
                                  To: soapbuilders@yahoogroups.com
                                  Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                                  Suggestion?)

                                  A schema document must import every namespace that is used in a
                                  reference
                                  to a schema component.  Thus, in the following fragment:

                                          <xsd:element name="e" type="ns1:t"
                                  ns2:randomNonStandardExtensionAttr="ns3:xxx">
                                                  <xsd:annotation>
                                                          <xsd:documentation>
                                                                  <html:body> ...</html:body>
                                                          </xsd:documentation>
                                                  </xsd:annotation>
                                          </xsd:element>

                                  ns1 must be imported, because it is used in a reference to a schema
                                  type
                                  ns1:t.  ns2, ns3, and html need not be imported.  In the example,

                                          <xsd:element name="e" type="xsd:integer"/>

                                  I believe there is no need to import xsd, because the built-in types
                                  are
                                  pre-imported.  I believe I opened an issue to the schema WG to clarify
                                  this point in future publications.

                                  By the way, you need only import things directly referenced.  If the
                                  type
                                  ns1:t above was derived from ns5:base, there would be no need to
                                  import
                                  ns5 in this schema document.  (There almost surely would be such a
                                  need in
                                  the schema document for the target namespace ns1.)    In general,
                                  <import>
                                  is there to distinguish namespaces for which schema components must be
                                  acquired, from all the other random uses of namespaces in a schema
                                  document.

                                  Hope this helps.

                                  ------------------------------------------------------------------
                                  Noah Mendelsohn                              Voice: 1-617-693-4036
                                  IBM Corporation                                Fax: 1-617-693-8676
                                  One Rogers Street
                                  Cambridge, MA 02142
                                  ------------------------------------------------------------------







                                  "simonfell99" <soap@...>
                                  05/03/02 12:52 PM
                                  Please respond to soapbuilders


                                          To:     soapbuilders@yahoogroups.com
                                          cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
                                          Subject:        [soapbuilders] Re: multip
                                  le schemas in WSDL
                                  question (was Suggestion?)

                                  I don't think there's a requirement for schema documents to import
                                  all namespaces that appear in the doc. I had a quick look through the
                                  schema spec and didn't spot a section that covered extending schema,
                                  i'll have a more detailed look later [unless one of the schema guys
                                  want to jump in first]

                                  FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                                  import [and this is missing from so many docs, that i now have an
                                  option in my WSDL tools to insert it if needed :(], but doesn't
                                  require an import for wsdl.

                                  Cheers
                                  Simon
                                  www.pocketsoap.com

                                  --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                  Does this matter? It is used as a namespace in the schema so should
                                  it not be included? Does the definition of anyAttribute in
                                  SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                                  need to be resolved to its schema?

                                  Pete

                                  Simon Fell wrote:
                                  Hi,

                                  But unlike soap-enc, the wsdl namespace is not used as a value in
                                  any
                                  of the schema defined element / attribute.

                                  Cheers
                                  Simon
                                  www.pocketsoap.com

                                  On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                                  soap-enc array definitions in WSDL use wsdl:arrayType

                                  <xsd:attribute ref="SOAP-ENC:arrayType"
                                  wsdl:arrayType="xsd1:Snapshot[]"/>
                                  Obviously the wsdl schema would only be required if an array was
                                  present
                                  in the schema.

                                  Pete

                                  simonfell99 wrote:
                                  --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                  Imo, the soap-enc namespace _should _ be imported.  While
                                  current
                                  SoapBuilderWSDLs mainly do not provide this, I don't see why
                                  soap-enc namespace should be exempt from schema rules.
                                  I agree with this. Also, the wsdl namespace should be imported.
                                  It is not special either. A conforming schema parser should
                                  error with the current schemas being generated.
                                  Right, I raised the import for soap-enc issue at the last
                                  SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                                  should be
                                  imported, I don't recall any schema constructs that reference
                                  the
                                  WSDL namespace, Care to give an example ?

                                  Cheers
                                  Simon
                                  www.pocketsoap.com



                                  -----------------------------------------------------------------
                                  This group is a forum for builders of SOAP implementations to
                                  discuss implementation and interoperability issues.  Please stay on-
                                  topic.
                                  To unsubscribe from this group, send an email to:
                                  soapbuilders-unsubscribe@y...



                                  Your use of Yahoo! Groups is subject to
                                  http://docs.yahoo.com/info/terms/
                                    


                                  -----------------------------------------------------------------
                                  This group is a forum for builders of SOAP implementations to
                                  discuss implementation and interoperability issues.  Please stay on-
                                  topic.
                                  To unsubscribe from this group, send an email to:
                                  soapbuilders-unsubscribe@y...



                                  Your use of Yahoo! Groups is subject to
                                  http://docs.yahoo.com/info/terms/
                                    


                                  -----------------------------------------------------------------
                                  This group is a forum for builders of SOAP implementations to discuss
                                  implementation and interoperability issues.  Please stay on-topic.

                                  To unsubscribe from this group, send an email to:
                                  soapbuilders-unsubscribe@yahoogroups.com



                                  Your use of Yahoo! Groups is subject to
                                  http://docs.yahoo.com/info/terms/





                                  ------------------------ Yahoo! Groups Sponsor

                                  -----------------------------------------------------------------
                                  This group is a forum for builders of SOAP implementations to discuss
                                  implementation and interoperability issues.  Please stay on-topic.

                                  To unsubscribe from this group, send an email to:
                                  soapbuilders-unsubscribe@yahoogroups.com



                                  Your use of Yahoo! Groups is subject to
                                  http://docs.yahoo.com/info/terms/



                                  -----------------------------------------------------------------
                                  This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues.  Please stay on-topic.

                                  To unsubscribe from this group, send an email to:
                                  soapbuilders-unsubscribe@yahoogroups.com



                                  Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


                                  ------------------------ Yahoo! Groups Sponsor ---------------------~-->
                                  Tied to your PC? Cut Loose and
                                  Stay connected with Yahoo! Mobile
                                  http://us.click.yahoo.com/QBCcSD/o1CEAA/sXBHAA/W6uqlB/TM
                                  ---------------------------------------------------------------------~->

                                  -----------------------------------------------------------------
                                  This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues.  Please stay on-topic.

                                  To unsubscribe from this group, send an email to:
                                  soapbuilders-unsubscribe@yahoogroups.com

                                   

                                  Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




                                  -----------------------------------------------------------------
                                  This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues.  Please stay on-topic.

                                  To unsubscribe from this group, send an email to:
                                  soapbuilders-unsubscribe@yahoogroups.com



                                  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
                                • noah_mendelsohn@us.ibm.com
                                  Right conclusion, though I m not sure your reasoning is quite correct. soap-enc must be imported in your example because it is used in a reference to a
                                  Message 16 of 22 , May 6, 2002
                                    Right conclusion, though I'm not sure your reasoning is quite correct.
                                    soap-enc must be imported in your example because it is used in a
                                    reference to a _schema_ component (in this case a type). In the
                                    example, the wsdl: namespace qualifies an attribute that means nothing to
                                    schema. Although its presence is legal, it is considered to be like
                                    <xsd:annotation>, a means of adding extensions that schema does not
                                    understand. A wsdl-knowledgeable processor can do what it wants with
                                    this, but there is no need for a schema import...a processor conforming to
                                    only the schema recommendation will do essentially nothing with the
                                    wsdl:arrayType attribute.

                                    ------------------------------------------------------------------
                                    Noah Mendelsohn Voice: 1-617-693-4036
                                    IBM Corporation Fax: 1-617-693-8676
                                    One Rogers Street
                                    Cambridge, MA 02142
                                    ------------------------------------------------------------------







                                    "Matt Long" <mlong@...>
                                    05/03/2002 03:38 PM
                                    Please respond to soapbuilders


                                    To: <soapbuilders@yahoogroups.com>
                                    cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                    Subject: RE: [soapbuilders] Re: multiple schemas in WSDL question (was Suggestion?)


                                    For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                                    below, the soap-enc namespace is *required* to be imported. However,
                                    the wsdl namespace does not need to be imported as it does not reference
                                    an external attribute, simpleType, or complexType.

                                    Fair summary?

                                    Thx,

                                    -Matt Long
                                    Phalanx Systems, LLC


                                    > -----Original Message-----
                                    > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                    > Sent: Friday, May 03, 2002 1:17 PM
                                    > To: soapbuilders@yahoogroups.com
                                    > Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question (was
                                    > Suggestion?)
                                    >
                                    > A schema document must import every namespace that is used in a
                                    reference
                                    > to a schema component. Thus, in the following fragment:
                                    >
                                    > <xsd:element name="e" type="ns1:t"
                                    > ns2:randomNonStandardExtensionAttr="ns3:xxx">
                                    > <xsd:annotation>
                                    > <xsd:documentation>
                                    > <html:body> ...</html:body>
                                    > </xsd:documentation>
                                    > </xsd:annotation>
                                    > </xsd:element>
                                    >
                                    > ns1 must be imported, because it is used in a reference to a schema
                                    type
                                    > ns1:t. ns2, ns3, and html need not be imported. In the example,
                                    >
                                    > <xsd:element name="e" type="xsd:integer"/>
                                    >
                                    > I believe there is no need to import xsd, because the built-in types
                                    are
                                    > pre-imported. I believe I opened an issue to the schema WG to clarify
                                    > this point in future publications.
                                    >
                                    > By the way, you need only import things directly referenced. If the
                                    type
                                    > ns1:t above was derived from ns5:base, there would be no need to
                                    import
                                    > ns5 in this schema document. (There almost surely would be such a
                                    need in
                                    > the schema document for the target namespace ns1.) In general,
                                    <import>
                                    > is there to distinguish namespaces for which schema components must be
                                    > acquired, from all the other random uses of namespaces in a schema
                                    > document.
                                    >
                                    > Hope this helps.
                                    >
                                    > ------------------------------------------------------------------
                                    > Noah Mendelsohn Voice: 1-617-693-4036
                                    > IBM Corporation Fax: 1-617-693-8676
                                    > One Rogers Street
                                    > Cambridge, MA 02142
                                    > ------------------------------------------------------------------
                                    >
                                    >
                                    >
                                    >
                                    >
                                    >
                                    >
                                    > "simonfell99" <soap@...>
                                    > 05/03/02 12:52 PM
                                    > Please respond to soapbuilders
                                    >
                                    >
                                    > To: soapbuilders@yahoogroups.com
                                    > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                    > Subject: [soapbuilders] Re: multiple schemas in WSDL
                                    > question (was Suggestion?)
                                    >
                                    > I don't think there's a requirement for schema documents to import
                                    > all namespaces that appear in the doc. I had a quick look through the
                                    > schema spec and didn't spot a section that covered extending schema,
                                    > i'll have a more detailed look later [unless one of the schema guys
                                    > want to jump in first]
                                    >
                                    > FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                                    > import [and this is missing from so many docs, that i now have an
                                    > option in my WSDL tools to insert it if needed :(], but doesn't
                                    > require an import for wsdl.
                                    >
                                    > Cheers
                                    > Simon
                                    > www.pocketsoap.com
                                    >
                                    > --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                    > > Does this matter? It is used as a namespace in the schema so should
                                    > > it not be included? Does the definition of anyAttribute in
                                    > > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                                    > > need to be resolved to its schema?
                                    > >
                                    > > Pete
                                    > >
                                    > > Simon Fell wrote:
                                    > >
                                    > > >Hi,
                                    > > >
                                    > > >But unlike soap-enc, the wsdl namespace is not used as a value in
                                    > any
                                    > > >of the schema defined element / attribute.
                                    > > >
                                    > > >Cheers
                                    > > >Simon
                                    > > >www.pocketsoap.com
                                    > > >
                                    > > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                                    > > >
                                    > > >>soap-enc array definitions in WSDL use wsdl:arrayType
                                    > > >>
                                    > > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                                    > wsdl:arrayType="xsd1:Snapshot[]"/>
                                    > > >>
                                    > > >>Obviously the wsdl schema would only be required if an array was
                                    > present
                                    > > >>in the schema.
                                    > > >>
                                    > > >>Pete
                                    > > >>
                                    > > >>simonfell99 wrote:
                                    > > >>
                                    > > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                    > > >>>
                                    > > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                                    > current
                                    > > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                                    > > >>>>>soap-enc namespace should be exempt from schema rules.
                                    > > >>>>>
                                    > > >>>>I agree with this. Also, the wsdl namespace should be imported.
                                    > > >>>>It is not special either. A conforming schema parser should
                                    > > >>>>error with the current schemas being generated.
                                    > > >>>>
                                    > > >>>Right, I raised the import for soap-enc issue at the last
                                    > > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                                    > should be
                                    > > >>>imported, I don't recall any schema constructs that reference
                                    > the
                                    > > >>>WSDL namespace, Care to give an example ?
                                    > > >>>
                                    > > >>>Cheers
                                    > > >>>Simon
                                    > > >>>www.pocketsoap.com
                                    > > >>>
                                    > > >>>
                                    > > >>>
                                    > > >>>-----------------------------------------------------------------
                                    > > >>>This group is a forum for builders of SOAP implementations to
                                    > discuss implementation and interoperability issues. Please stay on-
                                    > topic.
                                    > > >>>
                                    > > >>>To unsubscribe from this group, send an email to:
                                    > > >>>soapbuilders-unsubscribe@y...
                                    > > >>>
                                    > > >>>
                                    > > >>>
                                    > > >>>Your use of Yahoo! Groups is subject to
                                    > http://docs.yahoo.com/info/terms/
                                    > > >>>
                                    > > >>>
                                    > > >
                                    > > >
                                    > > >
                                    > > >-----------------------------------------------------------------
                                    > > >This group is a forum for builders of SOAP implementations to
                                    > discuss implementation and interoperability issues. Please stay on-
                                    > topic.
                                    > > >
                                    > > >To unsubscribe from this group, send an email to:
                                    > > >soapbuilders-unsubscribe@y...
                                    > > >
                                    > > >
                                    > > >
                                    > > >Your use of Yahoo! Groups is subject to
                                    > http://docs.yahoo.com/info/terms/
                                    > > >
                                    > > >
                                    >
                                    >
                                    >
                                    > -----------------------------------------------------------------
                                    > This group is a forum for builders of SOAP implementations to discuss
                                    > implementation and interoperability issues. Please stay on-topic.
                                    >
                                    > To unsubscribe from this group, send an email to:
                                    > soapbuilders-unsubscribe@yahoogroups.com
                                    >
                                    >
                                    >
                                    > Your use of Yahoo! Groups is subject to
                                    http://docs.yahoo.com/info/terms/
                                    >
                                    >
                                    >
                                    >
                                    >
                                    >
                                    > ------------------------ Yahoo! Groups Sponsor
                                    >
                                    > -----------------------------------------------------------------
                                    > This group is a forum for builders of SOAP implementations to discuss
                                    > implementation and interoperability issues. Please stay on-topic.
                                    >
                                    > To unsubscribe from this group, send an email to:
                                    > soapbuilders-unsubscribe@yahoogroups.com
                                    >
                                    >
                                    >
                                    > Your use of Yahoo! Groups is subject to
                                    http://docs.yahoo.com/info/terms/
                                    >




                                    -----------------------------------------------------------------
                                    This group is a forum for builders of SOAP implementations to discuss
                                    implementation and interoperability issues. Please stay on-topic.

                                    To unsubscribe from this group, send an email to:
                                    soapbuilders-unsubscribe@yahoogroups.com



                                    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                                  • Matt Long
                                    ... to ... Is it accurate to state:? The wsdl namespace qualifies an attribute that is not a referenced schema component, e.g., the wsdl namespace is not
                                    Message 17 of 22 , May 6, 2002
                                      > Right conclusion, though I'm not sure your reasoning is quite correct.
                                      > soap-enc must be imported in your example because it is used in a
                                      > reference to a _schema_ component (in this case a type). In the
                                      > example, the wsdl: namespace qualifies an attribute that means nothing
                                      to
                                      > schema.

                                      Is it accurate to state:?

                                      The wsdl namespace qualifies an attribute that is not a referenced
                                      schema component, e.g., the wsdl namespace is not required to be
                                      imported.

                                      Thx,

                                      -Matt Long
                                      Phalanx Systems, LLC



                                      > -----Original Message-----
                                      > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                      > Sent: Monday, May 06, 2002 8:24 AM
                                      > To: soapbuilders@yahoogroups.com
                                      > Subject: RE: [soapbuilders] Re: multiple schemas in WSDL question (was
                                      > Suggestion?)
                                      >
                                      > Right conclusion, though I'm not sure your reasoning is quite correct.
                                      > soap-enc must be imported in your example because it is used in a
                                      > reference to a _schema_ component (in this case a type). In the
                                      > example, the wsdl: namespace qualifies an attribute that means nothing
                                      to
                                      > schema. Although its presence is legal, it is considered to be like
                                      > <xsd:annotation>, a means of adding extensions that schema does not
                                      > understand. A wsdl-knowledgeable processor can do what it wants with
                                      > this, but there is no need for a schema import...a processor
                                      conforming to
                                      > only the schema recommendation will do essentially nothing with the
                                      > wsdl:arrayType attribute.
                                      >
                                      > ------------------------------------------------------------------
                                      > Noah Mendelsohn Voice: 1-617-693-4036
                                      > IBM Corporation Fax: 1-617-693-8676
                                      > One Rogers Street
                                      > Cambridge, MA 02142
                                      > ------------------------------------------------------------------
                                      >
                                      >
                                      >
                                      >
                                      >
                                      >
                                      >
                                      > "Matt Long" <mlong@...>
                                      > 05/03/2002 03:38 PM
                                      > Please respond to soapbuilders
                                      >
                                      >
                                      > To: <soapbuilders@yahoogroups.com>
                                      > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                      > Subject: RE: [soapbuilders] Re: multiple schemas in
                                      WSDL
                                      > question (was Suggestion?)
                                      >
                                      >
                                      > For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                                      > below, the soap-enc namespace is *required* to be imported. However,
                                      > the wsdl namespace does not need to be imported as it does not
                                      reference
                                      > an external attribute, simpleType, or complexType.
                                      >
                                      > Fair summary?
                                      >
                                      > Thx,
                                      >
                                      > -Matt Long
                                      > Phalanx Systems, LLC
                                      >
                                      >
                                      > > -----Original Message-----
                                      > > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                      > > Sent: Friday, May 03, 2002 1:17 PM
                                      > > To: soapbuilders@yahoogroups.com
                                      > > Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question
                                      (was
                                      > > Suggestion?)
                                      > >
                                      > > A schema document must import every namespace that is used in a
                                      > reference
                                      > > to a schema component. Thus, in the following fragment:
                                      > >
                                      > > <xsd:element name="e" type="ns1:t"
                                      > > ns2:randomNonStandardExtensionAttr="ns3:xxx">
                                      > > <xsd:annotation>
                                      > > <xsd:documentation>
                                      > > <html:body> ...</html:body>
                                      > > </xsd:documentation>
                                      > > </xsd:annotation>
                                      > > </xsd:element>
                                      > >
                                      > > ns1 must be imported, because it is used in a reference to a schema
                                      > type
                                      > > ns1:t. ns2, ns3, and html need not be imported. In the example,
                                      > >
                                      > > <xsd:element name="e" type="xsd:integer"/>
                                      > >
                                      > > I believe there is no need to import xsd, because the built-in types
                                      > are
                                      > > pre-imported. I believe I opened an issue to the schema WG to
                                      clarify
                                      > > this point in future publications.
                                      > >
                                      > > By the way, you need only import things directly referenced. If the
                                      > type
                                      > > ns1:t above was derived from ns5:base, there would be no need to
                                      > import
                                      > > ns5 in this schema document. (There almost surely would be such a
                                      > need in
                                      > > the schema document for the target namespace ns1.) In general,
                                      > <import>
                                      > > is there to distinguish namespaces for which schema components must
                                      be
                                      > > acquired, from all the other random uses of namespaces in a schema
                                      > > document.
                                      > >
                                      > > Hope this helps.
                                      > >
                                      > > ------------------------------------------------------------------
                                      > > Noah Mendelsohn Voice: 1-617-693-4036
                                      > > IBM Corporation Fax: 1-617-693-8676
                                      > > One Rogers Street
                                      > > Cambridge, MA 02142
                                      > > ------------------------------------------------------------------
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > > "simonfell99" <soap@...>
                                      > > 05/03/02 12:52 PM
                                      > > Please respond to soapbuilders
                                      > >
                                      > >
                                      > > To: soapbuilders@yahoogroups.com
                                      > > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                      > > Subject: [soapbuilders] Re: multiple schemas in WSDL
                                      > > question (was Suggestion?)
                                      > >
                                      > > I don't think there's a requirement for schema documents to import
                                      > > all namespaces that appear in the doc. I had a quick look through
                                      the
                                      > > schema spec and didn't spot a section that covered extending schema,
                                      > > i'll have a more detailed look later [unless one of the schema guys
                                      > > want to jump in first]
                                      > >
                                      > > FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                                      > > import [and this is missing from so many docs, that i now have an
                                      > > option in my WSDL tools to insert it if needed :(], but doesn't
                                      > > require an import for wsdl.
                                      > >
                                      > > Cheers
                                      > > Simon
                                      > > www.pocketsoap.com
                                      > >
                                      > > --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                      > > > Does this matter? It is used as a namespace in the schema so
                                      should
                                      > > > it not be included? Does the definition of anyAttribute in
                                      > > > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                                      > > > need to be resolved to its schema?
                                      > > >
                                      > > > Pete
                                      > > >
                                      > > > Simon Fell wrote:
                                      > > >
                                      > > > >Hi,
                                      > > > >
                                      > > > >But unlike soap-enc, the wsdl namespace is not used as a value in
                                      > > any
                                      > > > >of the schema defined element / attribute.
                                      > > > >
                                      > > > >Cheers
                                      > > > >Simon
                                      > > > >www.pocketsoap.com
                                      > > > >
                                      > > > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                                      > > > >
                                      > > > >>soap-enc array definitions in WSDL use wsdl:arrayType
                                      > > > >>
                                      > > > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                                      > > wsdl:arrayType="xsd1:Snapshot[]"/>
                                      > > > >>
                                      > > > >>Obviously the wsdl schema would only be required if an array was
                                      > > present
                                      > > > >>in the schema.
                                      > > > >>
                                      > > > >>Pete
                                      > > > >>
                                      > > > >>simonfell99 wrote:
                                      > > > >>
                                      > > > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...>
                                      wrote:
                                      > > > >>>
                                      > > > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                                      > > current
                                      > > > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                                      > > > >>>>>soap-enc namespace should be exempt from schema rules.
                                      > > > >>>>>
                                      > > > >>>>I agree with this. Also, the wsdl namespace should be
                                      imported.
                                      > > > >>>>It is not special either. A conforming schema parser should
                                      > > > >>>>error with the current schemas being generated.
                                      > > > >>>>
                                      > > > >>>Right, I raised the import for soap-enc issue at the last
                                      > > > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                                      > > should be
                                      > > > >>>imported, I don't recall any schema constructs that reference
                                      > > the
                                      > > > >>>WSDL namespace, Care to give an example ?
                                      > > > >>>
                                      > > > >>>Cheers
                                      > > > >>>Simon
                                      > > > >>>www.pocketsoap.com
                                      > > > >>>
                                      > > > >>>
                                      > > > >>>
                                      > > >
                                      >>>-----------------------------------------------------------------
                                      > > > >>>This group is a forum for builders of SOAP implementations to
                                      > > discuss implementation and interoperability issues. Please stay on-
                                      > > topic.
                                      > > > >>>
                                      > > > >>>To unsubscribe from this group, send an email to:
                                      > > > >>>soapbuilders-unsubscribe@y...
                                      > > > >>>
                                      > > > >>>
                                      > > > >>>
                                      > > > >>>Your use of Yahoo! Groups is subject to
                                      > > http://docs.yahoo.com/info/terms/
                                      > > > >>>
                                      > > > >>>
                                      > > > >
                                      > > > >
                                      > > > >
                                      > > > >-----------------------------------------------------------------
                                      > > > >This group is a forum for builders of SOAP implementations to
                                      > > discuss implementation and interoperability issues. Please stay on-
                                      > > topic.
                                      > > > >
                                      > > > >To unsubscribe from this group, send an email to:
                                      > > > >soapbuilders-unsubscribe@y...
                                      > > > >
                                      > > > >
                                      > > > >
                                      > > > >Your use of Yahoo! Groups is subject to
                                      > > http://docs.yahoo.com/info/terms/
                                      > > > >
                                      > > > >
                                      > >
                                      > >
                                      > >
                                      > > -----------------------------------------------------------------
                                      > > This group is a forum for builders of SOAP implementations to
                                      discuss
                                      > > implementation and interoperability issues. Please stay on-topic.
                                      > >
                                      > > To unsubscribe from this group, send an email to:
                                      > > soapbuilders-unsubscribe@yahoogroups.com
                                      > >
                                      > >
                                      > >
                                      > > Your use of Yahoo! Groups is subject to
                                      > http://docs.yahoo.com/info/terms/
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > > ------------------------ Yahoo! Groups Sponsor
                                      > >
                                      > > -----------------------------------------------------------------
                                      > > This group is a forum for builders of SOAP implementations to
                                      discuss
                                      > > implementation and interoperability issues. Please stay on-topic.
                                      > >
                                      > > To unsubscribe from this group, send an email to:
                                      > > soapbuilders-unsubscribe@yahoogroups.com
                                      > >
                                      > >
                                      > >
                                      > > Your use of Yahoo! Groups is subject to
                                      > http://docs.yahoo.com/info/terms/
                                      > >
                                      >
                                      >
                                      >
                                      >
                                      > -----------------------------------------------------------------
                                      > This group is a forum for builders of SOAP implementations to discuss
                                      > implementation and interoperability issues. Please stay on-topic.
                                      >
                                      > To unsubscribe from this group, send an email to:
                                      > soapbuilders-unsubscribe@yahoogroups.com
                                      >
                                      >
                                      >
                                      > Your use of Yahoo! Groups is subject to
                                      http://docs.yahoo.com/info/terms/
                                      >
                                      >
                                      >
                                      >
                                      >
                                      >
                                      > ------------------------ Yahoo! Groups Sponsor
                                      >
                                      > -----------------------------------------------------------------
                                      > This group is a forum for builders of SOAP implementations to discuss
                                      > implementation and interoperability issues. Please stay on-topic.
                                      >
                                      > To unsubscribe from this group, send an email to:
                                      > soapbuilders-unsubscribe@yahoogroups.com
                                      >
                                      >
                                      >
                                      > Your use of Yahoo! Groups is subject to
                                      http://docs.yahoo.com/info/terms/
                                      >
                                    • noah_mendelsohn@us.ibm.com
                                      Yes, I think that s close enough. I think your e.g. should be an I.e. though...it s not an example. ... Noah Mendelsohn
                                      Message 18 of 22 , May 6, 2002
                                        Yes, I think that's close enough. I think your "e.g." should be an "I.e."
                                        though...it's not an example.

                                        ------------------------------------------------------------------
                                        Noah Mendelsohn Voice: 1-617-693-4036
                                        IBM Corporation Fax: 1-617-693-8676
                                        One Rogers Street
                                        Cambridge, MA 02142
                                        ------------------------------------------------------------------







                                        "Matt Long" <mlong@...>
                                        05/06/2002 10:01 AM
                                        Please respond to soapbuilders


                                        To: <soapbuilders@yahoogroups.com>
                                        cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                        Subject: RE: [soapbuilders] Re: multiple schemas in WSDL question (was Suggestion?)


                                        > Right conclusion, though I'm not sure your reasoning is quite correct.
                                        > soap-enc must be imported in your example because it is used in a
                                        > reference to a _schema_ component (in this case a type). In the
                                        > example, the wsdl: namespace qualifies an attribute that means nothing
                                        to
                                        > schema.

                                        Is it accurate to state:?

                                        The wsdl namespace qualifies an attribute that is not a referenced
                                        schema component, e.g., the wsdl namespace is not required to be
                                        imported.

                                        Thx,

                                        -Matt Long
                                        Phalanx Systems, LLC



                                        > -----Original Message-----
                                        > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                        > Sent: Monday, May 06, 2002 8:24 AM
                                        > To: soapbuilders@yahoogroups.com
                                        > Subject: RE: [soapbuilders] Re: multiple schemas in WSDL question (was
                                        > Suggestion?)
                                        >
                                        > Right conclusion, though I'm not sure your reasoning is quite correct.
                                        > soap-enc must be imported in your example because it is used in a
                                        > reference to a _schema_ component (in this case a type). In the
                                        > example, the wsdl: namespace qualifies an attribute that means nothing
                                        to
                                        > schema. Although its presence is legal, it is considered to be like
                                        > <xsd:annotation>, a means of adding extensions that schema does not
                                        > understand. A wsdl-knowledgeable processor can do what it wants with
                                        > this, but there is no need for a schema import...a processor
                                        conforming to
                                        > only the schema recommendation will do essentially nothing with the
                                        > wsdl:arrayType attribute.
                                        >
                                        > ------------------------------------------------------------------
                                        > Noah Mendelsohn Voice: 1-617-693-4036
                                        > IBM Corporation Fax: 1-617-693-8676
                                        > One Rogers Street
                                        > Cambridge, MA 02142
                                        > ------------------------------------------------------------------
                                        >
                                        >
                                        >
                                        >
                                        >
                                        >
                                        >
                                        > "Matt Long" <mlong@...>
                                        > 05/03/2002 03:38 PM
                                        > Please respond to soapbuilders
                                        >
                                        >
                                        > To: <soapbuilders@yahoogroups.com>
                                        > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                        > Subject: RE: [soapbuilders] Re: multiple schemas in
                                        WSDL
                                        > question (was Suggestion?)
                                        >
                                        >
                                        > For soap-enc arrays we are referencing soap-enc attributes, e.g., from
                                        > below, the soap-enc namespace is *required* to be imported. However,
                                        > the wsdl namespace does not need to be imported as it does not
                                        reference
                                        > an external attribute, simpleType, or complexType.
                                        >
                                        > Fair summary?
                                        >
                                        > Thx,
                                        >
                                        > -Matt Long
                                        > Phalanx Systems, LLC
                                        >
                                        >
                                        > > -----Original Message-----
                                        > > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                        > > Sent: Friday, May 03, 2002 1:17 PM
                                        > > To: soapbuilders@yahoogroups.com
                                        > > Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question
                                        (was
                                        > > Suggestion?)
                                        > >
                                        > > A schema document must import every namespace that is used in a
                                        > reference
                                        > > to a schema component. Thus, in the following fragment:
                                        > >
                                        > > <xsd:element name="e" type="ns1:t"
                                        > > ns2:randomNonStandardExtensionAttr="ns3:xxx">
                                        > > <xsd:annotation>
                                        > > <xsd:documentation>
                                        > > <html:body> ...</html:body>
                                        > > </xsd:documentation>
                                        > > </xsd:annotation>
                                        > > </xsd:element>
                                        > >
                                        > > ns1 must be imported, because it is used in a reference to a schema
                                        > type
                                        > > ns1:t. ns2, ns3, and html need not be imported. In the example,
                                        > >
                                        > > <xsd:element name="e" type="xsd:integer"/>
                                        > >
                                        > > I believe there is no need to import xsd, because the built-in types
                                        > are
                                        > > pre-imported. I believe I opened an issue to the schema WG to
                                        clarify
                                        > > this point in future publications.
                                        > >
                                        > > By the way, you need only import things directly referenced. If the
                                        > type
                                        > > ns1:t above was derived from ns5:base, there would be no need to
                                        > import
                                        > > ns5 in this schema document. (There almost surely would be such a
                                        > need in
                                        > > the schema document for the target namespace ns1.) In general,
                                        > <import>
                                        > > is there to distinguish namespaces for which schema components must
                                        be
                                        > > acquired, from all the other random uses of namespaces in a schema
                                        > > document.
                                        > >
                                        > > Hope this helps.
                                        > >
                                        > > ------------------------------------------------------------------
                                        > > Noah Mendelsohn Voice: 1-617-693-4036
                                        > > IBM Corporation Fax: 1-617-693-8676
                                        > > One Rogers Street
                                        > > Cambridge, MA 02142
                                        > > ------------------------------------------------------------------
                                        > >
                                        > >
                                        > >
                                        > >
                                        > >
                                        > >
                                        > >
                                        > > "simonfell99" <soap@...>
                                        > > 05/03/02 12:52 PM
                                        > > Please respond to soapbuilders
                                        > >
                                        > >
                                        > > To: soapbuilders@yahoogroups.com
                                        > > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                        > > Subject: [soapbuilders] Re: multiple schemas in WSDL
                                        > > question (was Suggestion?)
                                        > >
                                        > > I don't think there's a requirement for schema documents to import
                                        > > all namespaces that appear in the doc. I had a quick look through
                                        the
                                        > > schema spec and didn't spot a section that covered extending schema,
                                        > > i'll have a more detailed look later [unless one of the schema guys
                                        > > want to jump in first]
                                        > >
                                        > > FWIW, I see the same results as Matt, MSXML4.0 requires the soap-enc
                                        > > import [and this is missing from so many docs, that i now have an
                                        > > option in my WSDL tools to insert it if needed :(], but doesn't
                                        > > require an import for wsdl.
                                        > >
                                        > > Cheers
                                        > > Simon
                                        > > www.pocketsoap.com
                                        > >
                                        > > --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                        > > > Does this matter? It is used as a namespace in the schema so
                                        should
                                        > > > it not be included? Does the definition of anyAttribute in
                                        > > > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does not
                                        > > > need to be resolved to its schema?
                                        > > >
                                        > > > Pete
                                        > > >
                                        > > > Simon Fell wrote:
                                        > > >
                                        > > > >Hi,
                                        > > > >
                                        > > > >But unlike soap-enc, the wsdl namespace is not used as a value in
                                        > > any
                                        > > > >of the schema defined element / attribute.
                                        > > > >
                                        > > > >Cheers
                                        > > > >Simon
                                        > > > >www.pocketsoap.com
                                        > > > >
                                        > > > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                                        > > > >
                                        > > > >>soap-enc array definitions in WSDL use wsdl:arrayType
                                        > > > >>
                                        > > > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                                        > > wsdl:arrayType="xsd1:Snapshot[]"/>
                                        > > > >>
                                        > > > >>Obviously the wsdl schema would only be required if an array was
                                        > > present
                                        > > > >>in the schema.
                                        > > > >>
                                        > > > >>Pete
                                        > > > >>
                                        > > > >>simonfell99 wrote:
                                        > > > >>
                                        > > > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...>
                                        wrote:
                                        > > > >>>
                                        > > > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                                        > > current
                                        > > > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see why
                                        > > > >>>>>soap-enc namespace should be exempt from schema rules.
                                        > > > >>>>>
                                        > > > >>>>I agree with this. Also, the wsdl namespace should be
                                        imported.
                                        > > > >>>>It is not special either. A conforming schema parser should
                                        > > > >>>>error with the current schemas being generated.
                                        > > > >>>>
                                        > > > >>>Right, I raised the import for soap-enc issue at the last
                                        > > > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                                        > > should be
                                        > > > >>>imported, I don't recall any schema constructs that reference
                                        > > the
                                        > > > >>>WSDL namespace, Care to give an example ?
                                        > > > >>>
                                        > > > >>>Cheers
                                        > > > >>>Simon
                                        > > > >>>www.pocketsoap.com
                                        > > > >>>
                                        > > > >>>
                                        > > > >>>
                                        > > >
                                        >>>-----------------------------------------------------------------
                                        > > > >>>This group is a forum for builders of SOAP implementations to
                                        > > discuss implementation and interoperability issues. Please stay on-
                                        > > topic.
                                        > > > >>>
                                        > > > >>>To unsubscribe from this group, send an email to:
                                        > > > >>>soapbuilders-unsubscribe@y...
                                        > > > >>>
                                        > > > >>>
                                        > > > >>>
                                        > > > >>>Your use of Yahoo! Groups is subject to
                                        > > http://docs.yahoo.com/info/terms/
                                        > > > >>>
                                        > > > >>>
                                        > > > >
                                        > > > >
                                        > > > >
                                        > > > >-----------------------------------------------------------------
                                        > > > >This group is a forum for builders of SOAP implementations to
                                        > > discuss implementation and interoperability issues. Please stay on-
                                        > > topic.
                                        > > > >
                                        > > > >To unsubscribe from this group, send an email to:
                                        > > > >soapbuilders-unsubscribe@y...
                                        > > > >
                                        > > > >
                                        > > > >
                                        > > > >Your use of Yahoo! Groups is subject to
                                        > > http://docs.yahoo.com/info/terms/
                                        > > > >
                                        > > > >
                                        > >
                                        > >
                                        > >
                                        > > -----------------------------------------------------------------
                                        > > This group is a forum for builders of SOAP implementations to
                                        discuss
                                        > > implementation and interoperability issues. Please stay on-topic.
                                        > >
                                        > > To unsubscribe from this group, send an email to:
                                        > > soapbuilders-unsubscribe@yahoogroups.com
                                        > >
                                        > >
                                        > >
                                        > > Your use of Yahoo! Groups is subject to
                                        > http://docs.yahoo.com/info/terms/
                                        > >
                                        > >
                                        > >
                                        > >
                                        > >
                                        > >
                                        > > ------------------------ Yahoo! Groups Sponsor
                                        > >
                                        > > -----------------------------------------------------------------
                                        > > This group is a forum for builders of SOAP implementations to
                                        discuss
                                        > > implementation and interoperability issues. Please stay on-topic.
                                        > >
                                        > > To unsubscribe from this group, send an email to:
                                        > > soapbuilders-unsubscribe@yahoogroups.com
                                        > >
                                        > >
                                        > >
                                        > > Your use of Yahoo! Groups is subject to
                                        > http://docs.yahoo.com/info/terms/
                                        > >
                                        >
                                        >
                                        >
                                        >
                                        > -----------------------------------------------------------------
                                        > This group is a forum for builders of SOAP implementations to discuss
                                        > implementation and interoperability issues. Please stay on-topic.
                                        >
                                        > To unsubscribe from this group, send an email to:
                                        > soapbuilders-unsubscribe@yahoogroups.com
                                        >
                                        >
                                        >
                                        > Your use of Yahoo! Groups is subject to
                                        http://docs.yahoo.com/info/terms/
                                        >
                                        >
                                        >
                                        >
                                        >
                                        >
                                        > ------------------------ Yahoo! Groups Sponsor
                                        >
                                        > -----------------------------------------------------------------
                                        > This group is a forum for builders of SOAP implementations to discuss
                                        > implementation and interoperability issues. Please stay on-topic.
                                        >
                                        > To unsubscribe from this group, send an email to:
                                        > soapbuilders-unsubscribe@yahoogroups.com
                                        >
                                        >
                                        >
                                        > Your use of Yahoo! Groups is subject to
                                        http://docs.yahoo.com/info/terms/
                                        >




                                        -----------------------------------------------------------------
                                        This group is a forum for builders of SOAP implementations to discuss
                                        implementation and interoperability issues. Please stay on-topic.

                                        To unsubscribe from this group, send an email to:
                                        soapbuilders-unsubscribe@yahoogroups.com



                                        Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                                      • Matt Long
                                        Oops! I stand corrected (Beware the Ides of March!) i.e. = id est = that is e.g. = exempli gratia = for example Thx, -Matt Long Phalanx Systems, LLC ...
                                        Message 19 of 22 , May 6, 2002
                                          Oops!
                                          I stand corrected (Beware the Ides of March!)

                                          i.e. = id est = "that is"

                                          e.g. = exempli gratia = "for example"

                                          Thx,

                                          -Matt Long
                                          Phalanx Systems, LLC



                                          > -----Original Message-----
                                          > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                          > Sent: Monday, May 06, 2002 9:21 AM
                                          > To: soapbuilders@yahoogroups.com
                                          > Subject: RE: [soapbuilders] Re: multiple schemas in WSDL question (was
                                          > Suggestion?)
                                          >
                                          > Yes, I think that's close enough. I think your "e.g." should be an
                                          "I.e."
                                          > though...it's not an example.
                                          >
                                          > ------------------------------------------------------------------
                                          > Noah Mendelsohn Voice: 1-617-693-4036
                                          > IBM Corporation Fax: 1-617-693-8676
                                          > One Rogers Street
                                          > Cambridge, MA 02142
                                          > ------------------------------------------------------------------
                                          >
                                          >
                                          >
                                          >
                                          >
                                          >
                                          >
                                          > "Matt Long" <mlong@...>
                                          > 05/06/2002 10:01 AM
                                          > Please respond to soapbuilders
                                          >
                                          >
                                          > To: <soapbuilders@yahoogroups.com>
                                          > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                          > Subject: RE: [soapbuilders] Re: multiple schemas in
                                          WSDL
                                          > question (was Suggestion?)
                                          >
                                          >
                                          > > Right conclusion, though I'm not sure your reasoning is quite
                                          correct.
                                          > > soap-enc must be imported in your example because it is used in a
                                          > > reference to a _schema_ component (in this case a type). In the
                                          > > example, the wsdl: namespace qualifies an attribute that means
                                          nothing
                                          > to
                                          > > schema.
                                          >
                                          > Is it accurate to state:?
                                          >
                                          > The wsdl namespace qualifies an attribute that is not a referenced
                                          > schema component, e.g., the wsdl namespace is not required to be
                                          > imported.
                                          >
                                          > Thx,
                                          >
                                          > -Matt Long
                                          > Phalanx Systems, LLC
                                          >
                                          >
                                          >
                                          > > -----Original Message-----
                                          > > From: noah_mendelsohn@... [mailto:noah_mendelsohn@...]
                                          > > Sent: Monday, May 06, 2002 8:24 AM
                                          > > To: soapbuilders@yahoogroups.com
                                          > > Subject: RE: [soapbuilders] Re: multiple schemas in WSDL question
                                          (was
                                          > > Suggestion?)
                                          > >
                                          > > Right conclusion, though I'm not sure your reasoning is quite
                                          correct.
                                          > > soap-enc must be imported in your example because it is used in a
                                          > > reference to a _schema_ component (in this case a type). In the
                                          > > example, the wsdl: namespace qualifies an attribute that means
                                          nothing
                                          > to
                                          > > schema. Although its presence is legal, it is considered to be like
                                          > > <xsd:annotation>, a means of adding extensions that schema does not
                                          > > understand. A wsdl-knowledgeable processor can do what it wants
                                          with
                                          > > this, but there is no need for a schema import...a processor
                                          > conforming to
                                          > > only the schema recommendation will do essentially nothing with the
                                          > > wsdl:arrayType attribute.
                                          > >
                                          > > ------------------------------------------------------------------
                                          > > Noah Mendelsohn Voice: 1-617-693-4036
                                          > > IBM Corporation Fax: 1-617-693-8676
                                          > > One Rogers Street
                                          > > Cambridge, MA 02142
                                          > > ------------------------------------------------------------------
                                          > >
                                          > >
                                          > >
                                          > >
                                          > >
                                          > >
                                          > >
                                          > > "Matt Long" <mlong@...>
                                          > > 05/03/2002 03:38 PM
                                          > > Please respond to soapbuilders
                                          > >
                                          > >
                                          > > To: <soapbuilders@yahoogroups.com>
                                          > > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                          > > Subject: RE: [soapbuilders] Re: multiple schemas in
                                          > WSDL
                                          > > question (was Suggestion?)
                                          > >
                                          > >
                                          > > For soap-enc arrays we are referencing soap-enc attributes, e.g.,
                                          from
                                          > > below, the soap-enc namespace is *required* to be imported.
                                          However,
                                          > > the wsdl namespace does not need to be imported as it does not
                                          > reference
                                          > > an external attribute, simpleType, or complexType.
                                          > >
                                          > > Fair summary?
                                          > >
                                          > > Thx,
                                          > >
                                          > > -Matt Long
                                          > > Phalanx Systems, LLC
                                          > >
                                          > >
                                          > > > -----Original Message-----
                                          > > > From: noah_mendelsohn@...
                                          [mailto:noah_mendelsohn@...]
                                          > > > Sent: Friday, May 03, 2002 1:17 PM
                                          > > > To: soapbuilders@yahoogroups.com
                                          > > > Subject: Re: [soapbuilders] Re: multiple schemas in WSDL question
                                          > (was
                                          > > > Suggestion?)
                                          > > >
                                          > > > A schema document must import every namespace that is used in a
                                          > > reference
                                          > > > to a schema component. Thus, in the following fragment:
                                          > > >
                                          > > > <xsd:element name="e" type="ns1:t"
                                          > > > ns2:randomNonStandardExtensionAttr="ns3:xxx">
                                          > > > <xsd:annotation>
                                          > > > <xsd:documentation>
                                          > > > <html:body> ...</html:body>
                                          > > > </xsd:documentation>
                                          > > > </xsd:annotation>
                                          > > > </xsd:element>
                                          > > >
                                          > > > ns1 must be imported, because it is used in a reference to a
                                          schema
                                          > > type
                                          > > > ns1:t. ns2, ns3, and html need not be imported. In the example,
                                          > > >
                                          > > > <xsd:element name="e" type="xsd:integer"/>
                                          > > >
                                          > > > I believe there is no need to import xsd, because the built-in
                                          types
                                          > > are
                                          > > > pre-imported. I believe I opened an issue to the schema WG to
                                          > clarify
                                          > > > this point in future publications.
                                          > > >
                                          > > > By the way, you need only import things directly referenced. If
                                          the
                                          > > type
                                          > > > ns1:t above was derived from ns5:base, there would be no need to
                                          > > import
                                          > > > ns5 in this schema document. (There almost surely would be such a
                                          > > need in
                                          > > > the schema document for the target namespace ns1.) In general,
                                          > > <import>
                                          > > > is there to distinguish namespaces for which schema components
                                          must
                                          > be
                                          > > > acquired, from all the other random uses of namespaces in a schema
                                          > > > document.
                                          > > >
                                          > > > Hope this helps.
                                          > > >
                                          > > > ------------------------------------------------------------------
                                          > > > Noah Mendelsohn Voice: 1-617-693-4036
                                          > > > IBM Corporation Fax: 1-617-693-8676
                                          > > > One Rogers Street
                                          > > > Cambridge, MA 02142
                                          > > > ------------------------------------------------------------------
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > > "simonfell99" <soap@...>
                                          > > > 05/03/02 12:52 PM
                                          > > > Please respond to soapbuilders
                                          > > >
                                          > > >
                                          > > > To: soapbuilders@yahoogroups.com
                                          > > > cc: (bcc: Noah Mendelsohn/Cambridge/IBM)
                                          > > > Subject: [soapbuilders] Re: multiple schemas in
                                          WSDL
                                          > > > question (was Suggestion?)
                                          > > >
                                          > > > I don't think there's a requirement for schema documents to import
                                          > > > all namespaces that appear in the doc. I had a quick look through
                                          > the
                                          > > > schema spec and didn't spot a section that covered extending
                                          schema,
                                          > > > i'll have a more detailed look later [unless one of the schema
                                          guys
                                          > > > want to jump in first]
                                          > > >
                                          > > > FWIW, I see the same results as Matt, MSXML4.0 requires the
                                          soap-enc
                                          > > > import [and this is missing from so many docs, that i now have an
                                          > > > option in my WSDL tools to insert it if needed :(], but doesn't
                                          > > > require an import for wsdl.
                                          > > >
                                          > > > Cheers
                                          > > > Simon
                                          > > > www.pocketsoap.com
                                          > > >
                                          > > > --- In soapbuilders@y..., Pete Hendry <peter.hendry@c...> wrote:
                                          > > > > Does this matter? It is used as a namespace in the schema so
                                          > should
                                          > > > > it not be included? Does the definition of anyAttribute in
                                          > > > > SOAP-ENC:arrayType as "lax" mean that the wsdl namespace does
                                          not
                                          > > > > need to be resolved to its schema?
                                          > > > >
                                          > > > > Pete
                                          > > > >
                                          > > > > Simon Fell wrote:
                                          > > > >
                                          > > > > >Hi,
                                          > > > > >
                                          > > > > >But unlike soap-enc, the wsdl namespace is not used as a value
                                          in
                                          > > > any
                                          > > > > >of the schema defined element / attribute.
                                          > > > > >
                                          > > > > >Cheers
                                          > > > > >Simon
                                          > > > > >www.pocketsoap.com
                                          > > > > >
                                          > > > > >On Fri, 03 May 2002 13:26:26 +1200, in soap you wrote:
                                          > > > > >
                                          > > > > >>soap-enc array definitions in WSDL use wsdl:arrayType
                                          > > > > >>
                                          > > > > >> <xsd:attribute ref="SOAP-ENC:arrayType"
                                          > > > wsdl:arrayType="xsd1:Snapshot[]"/>
                                          > > > > >>
                                          > > > > >>Obviously the wsdl schema would only be required if an array
                                          was
                                          > > > present
                                          > > > > >>in the schema.
                                          > > > > >>
                                          > > > > >>Pete
                                          > > > > >>
                                          > > > > >>simonfell99 wrote:
                                          > > > > >>
                                          > > > > >>>--- In soapbuilders@y..., Pete Hendry <peter.hendry@c...>
                                          > wrote:
                                          > > > > >>>
                                          > > > > >>>>>Imo, the soap-enc namespace _should _ be imported. While
                                          > > > current
                                          > > > > >>>>>SoapBuilderWSDLs mainly do not provide this, I don't see
                                          why
                                          > > > > >>>>>soap-enc namespace should be exempt from schema rules.
                                          > > > > >>>>>
                                          > > > > >>>>I agree with this. Also, the wsdl namespace should be
                                          > imported.
                                          > > > > >>>>It is not special either. A conforming schema parser should
                                          > > > > >>>>error with the current schemas being generated.
                                          > > > > >>>>
                                          > > > > >>>Right, I raised the import for soap-enc issue at the last
                                          > > > > >>>SOAPBuilders F2F. I'm less clear on why the WSDL namespace
                                          > > > should be
                                          > > > > >>>imported, I don't recall any schema constructs that reference
                                          > > > the
                                          > > > > >>>WSDL namespace, Care to give an example ?
                                          > > > > >>>
                                          > > > > >>>Cheers
                                          > > > > >>>Simon
                                          > > > > >>>www.pocketsoap.com
                                          > > > > >>>
                                          > > > > >>>
                                          > > > > >>>
                                          > > > >
                                          > >>>-----------------------------------------------------------------
                                          > > > > >>>This group is a forum for builders of SOAP implementations to
                                          > > > discuss implementation and interoperability issues. Please stay
                                          on-
                                          > > > topic.
                                          > > > > >>>
                                          > > > > >>>To unsubscribe from this group, send an email to:
                                          > > > > >>>soapbuilders-unsubscribe@y...
                                          > > > > >>>
                                          > > > > >>>
                                          > > > > >>>
                                          > > > > >>>Your use of Yahoo! Groups is subject to
                                          > > > http://docs.yahoo.com/info/terms/
                                          > > > > >>>
                                          > > > > >>>
                                          > > > > >
                                          > > > > >
                                          > > > > >
                                          > > > >
                                          >-----------------------------------------------------------------
                                          > > > > >This group is a forum for builders of SOAP implementations to
                                          > > > discuss implementation and interoperability issues. Please stay
                                          on-
                                          > > > topic.
                                          > > > > >
                                          > > > > >To unsubscribe from this group, send an email to:
                                          > > > > >soapbuilders-unsubscribe@y...
                                          > > > > >
                                          > > > > >
                                          > > > > >
                                          > > > > >Your use of Yahoo! Groups is subject to
                                          > > > http://docs.yahoo.com/info/terms/
                                          > > > > >
                                          > > > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > > -----------------------------------------------------------------
                                          > > > This group is a forum for builders of SOAP implementations to
                                          > discuss
                                          > > > implementation and interoperability issues. Please stay on-topic.
                                          > > >
                                          > > > To unsubscribe from this group, send an email to:
                                          > > > soapbuilders-unsubscribe@yahoogroups.com
                                          > > >
                                          > > >
                                          > > >
                                          > > > Your use of Yahoo! Groups is subject to
                                          > > http://docs.yahoo.com/info/terms/
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > > ------------------------ Yahoo! Groups Sponsor
                                          > > >
                                          > > > -----------------------------------------------------------------
                                          > > > This group is a forum for builders of SOAP implementations to
                                          > discuss
                                          > > > implementation and interoperability issues. Please stay on-topic.
                                          > > >
                                          > > > To unsubscribe from this group, send an email to:
                                          > > > soapbuilders-unsubscribe@yahoogroups.com
                                          > > >
                                          > > >
                                          > > >
                                          > > > Your use of Yahoo! Groups is subject to
                                          > > http://docs.yahoo.com/info/terms/
                                          > > >
                                          > >
                                          > >
                                          > >
                                          > >
                                          > > -----------------------------------------------------------------
                                          > > This group is a forum for builders of SOAP implementations to
                                          discuss
                                          > > implementation and interoperability issues. Please stay on-topic.
                                          > >
                                          > > To unsubscribe from this group, send an email to:
                                          > > soapbuilders-unsubscribe@yahoogroups.com
                                          > >
                                          > >
                                          > >
                                          > > Your use of Yahoo! Groups is subject to
                                          > http://docs.yahoo.com/info/terms/
                                          > >
                                          > >
                                          > >
                                          > >
                                          > >
                                          > >
                                          > > ------------------------ Yahoo! Groups Sponsor
                                          > >
                                          > > -----------------------------------------------------------------
                                          > > This group is a forum for builders of SOAP implementations to
                                          discuss
                                          > > implementation and interoperability issues. Please stay on-topic.
                                          > >
                                          > > To unsubscribe from this group, send an email to:
                                          > > soapbuilders-unsubscribe@yahoogroups.com
                                          > >
                                          > >
                                          > >
                                          > > Your use of Yahoo! Groups is subject to
                                          > http://docs.yahoo.com/info/terms/
                                          > >
                                          >
                                          >
                                          >
                                          >
                                          > -----------------------------------------------------------------
                                          > This group is a forum for builders of SOAP implementations to discuss
                                          > implementation and interoperability issues. Please stay on-topic.
                                          >
                                          > To unsubscribe from this group, send an email to:
                                          > soapbuilders-unsubscribe@yahoogroups.com
                                          >
                                          >
                                          >
                                          > Your use of Yahoo! Groups is subject to
                                          http://docs.yahoo.com/info/terms/
                                          >
                                          >
                                          >
                                          >
                                          >
                                          >
                                          > ------------------------ Yahoo! Groups Sponsor
                                          >
                                          > -----------------------------------------------------------------
                                          > This group is a forum for builders of SOAP implementations to discuss
                                          > implementation and interoperability issues. Please stay on-topic.
                                          >
                                          > To unsubscribe from this group, send an email to:
                                          > soapbuilders-unsubscribe@yahoogroups.com
                                          >
                                          >
                                          >
                                          > Your use of Yahoo! Groups is subject to
                                          http://docs.yahoo.com/info/terms/
                                          >
                                        Your message has been successfully submitted and would be delivered to recipients shortly.