ISSUE-98

corrections to examples.xsd

State:
OPEN
Product:
Testsuite
Raised by:
Vladislav Bezrukov
Opened on:
2006-11-28
Description:
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
Related emails:
  1. ISSUE-98: corrections to examples.xsd (from dean+cgi@w3.org on 2006-11-28)
  2. Minutes: XML Schema Patterns for Databinding telcon 28 November 2006 (from paul.downey@bt.com on 2006-11-28)
  3. Agenda: XML Schema Patterns for Databinding telcon 12 December 2006 (from paul.downey@bt.com on 2006-12-11)

Related notes:

No additional notes.