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

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

From: Mark Young <mark@kamiak.com>
Date: Wed, 20 Jun 2001 17:32:50 -0400 (EDT)
Message-ID: <013201c0f9d1$49362460$0300a8c0@dell750>
To: <xml-dist-app@w3.org>

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 raised.

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" maxOccurs="unbounded"/>

            <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 Wednesday, 20 June 2001 17:35:33 UTC

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