ISSUE-98: corrections to examples.xsd

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ISSUE-98: corrections to examples.xsd

SWD Issue Tracker


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