W3C home > Mailing lists > Public > xml-dist-app@w3.org > June 2001

Re: Problems(?) with http://schemas.xmlsoap.org/soap/encoding and its use

From: Martin Gudgin <marting@develop.com>
Date: Thu, 21 Jun 2001 08:47:49 +0100
Message-ID: <024601c0fa26$85c84610$0300a8c0@greyarea>
To: "Mark Young" <mark@kamiak.com>, <xml-dist-app@w3.org>

Thanks for these comments. The schema at the URL[1] you gave uses a draft
version of the schema spec[2-3 or possibly 4-5]. There will be an updated
schema that conforms to the XML Schema Recommendation[6-7] published soon. I
hope this new schema will address the issues you listed below. If it does
not, or there are other issues with the new schema, please let us know after


Martin Gudgin

[1] http://schemas.xmlsoap.org/soap/encoding
[2] http://www.w3.org/TR/2000/WD-xmlschema-1-20000407/
[3] http://www.w3.org/TR/2000/WD-xmlschema-2-20000407/
[4] http://www.w3.org/TR/2000/WD-xmlschema-1-20000225/
[5] http://www.w3.org/TR/2000/WD-xmlschema-2-20000225/
[6] http://www.w3.org/TR/xmlschema-1
[7] http://www.w3.org/TR/xmlschema-2

----- Original Message -----
From: "Mark Young" <mark@kamiak.com>
To: <xml-dist-app@w3.org>
Sent: Wednesday, June 20, 2001 10:32 PM
Subject: Problems(?) with http://schemas.xmlsoap.org/soap/encoding and its


I think there may be a couple of issues with the schema at

I've scanned the issues list and mail archives, and did not see these issues

1)  I don't read the XML Schema spec to support a minOccurs attribute on an
<attribute> element:

<attribute ref="tns:arrayType" minOccurs="1"/>

Not sure what the intent of this is.  Is it meaning to say that the
attribute isn't optional?

2)  OK, not an issue with this schema, but rather its use in examples.  When
one derives from the Array type defined herein, one would use restriction.
I read the XML schema spec to say that in doing so, one must repeat all the
parts that the subtype should have.  I guess that means that the
attributeGroups should be repeated in the derived type's definition:

<complexType name=MyArray">


        <restriction base="SOAP-ENC:Array">

            <element name="myElement" type="xsd:string"

            <attributeGroup ref="SOAP-ENC:arrayAttributes"/>

            <attributeGroup ref="SOAP-ENC:commonAttributes"/>




I hope I'm not sending this to the wrong list; I apologize if this isn't the
right list.


Mark Young
Received on Thursday, 21 June 2001 03:49:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:11:36 UTC