ISSUE-98: corrections to examples.xsd

ISSUE-98: corrections to examples.xsd

http://www.w3.org/2005/06/tracker/databinding/issues/98

Raised by: Vladislav Bezrukov
On product: Testsuite

testing the examples.xsd as it referenced from the basic patterns Spec
I've got some issues:
(a) includes not found
<xs:include schemaLocation="SequenceElementList.xsd"/>
<xs:include
schemaLocation="http://www.w3.org/2002/ws/databinding/examples/static/Include.xsd"/>
<xs:include schemaLocation="ChameleonIncluded.xsd"/>

(b) cosmetic issue
the namespace declarations xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/" ...
seem to be superfluous

(c) <xs:complexType name="AgeDetails"> is defined twice
first occurence is ok:
			<xs:complexType name="AgeDetails">
				<xs:sequence>
					<xs:element name="age" type="xs:short" minOccurs="1" maxOccurs="1"/>
				</xs:sequence>
			</xs:complexType>

second occurence should presumably look like:
			<xs:element name="myAgeDetails" type="ex:myAgeDetails"/>
			<xs:complexType name="myAgeDetails">
				<xs:sequence maxOccurs="1">
					<xs:element name="myAge" type="xs:short"/>
				</xs:sequence>
			</xs:complexType>

(d) probably due to the missing xs:include's  some global elements are missing,
e.g. ex:schemaVersion

Received on Tuesday, 28 November 2006 14:57:01 UTC