- From: Martin Gudgin <marting@develop.com>
- Date: Thu, 21 Jun 2001 08:47:49 +0100
- To: "Mark Young" <mark@kamiak.com>, <xml-dist-app@w3.org>
Mark, 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 publication. Regards Martin Gudgin DevelopMentor [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 use Hi: I think there may be a couple of issues with the schema at http://schemas.xmlsoap.org/soap/encoding 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"> <complexContent> <restriction base="SOAP-ENC:Array"> <element name="myElement" type="xsd:string" maxOccurs="unbounded"/> <attributeGroup ref="SOAP-ENC:arrayAttributes"/> <attributeGroup ref="SOAP-ENC:commonAttributes"/> </restriction> </complexContent> </complexType> I hope I'm not sending this to the wrong list; I apologize if this isn't the right list. Regards, Mark Young mark@kamiak.com
Received on Thursday, 21 June 2001 03:49:56 UTC