- From: <MarkH@i2.co.uk>
- Date: Mon, 15 Jan 2001 15:28:20 -0000
- To: xmlschema-dev@w3.org
XML Spy v3.5 beta 4 complains about the following, saying that miscType must
be derived from vlvd:endType by -extension-. In fact it is derived by
-restriction-. XSV didn't complain when validating the instance. Who's
right?
Extract from the instance:
<ends>
<end id="e0001" xsi:type="vlvx:miscEnd">
<properties>
<displayName>end e0001</displayName>
</properties>
</end>
</ends>
Extracts from the schema:
<complexType name="miscEnd">
<annotation>
<documentation>End Type: miscEnd
(miscellaneous)</documentation>
</annotation>
<complexContent>
<restriction base="vlvx:endType">
<sequence>
<element name="properties"
type="vlvx:elementProperties"/>
</sequence>
</restriction>
</complexContent>
</complexType>
...
<element name="ends">
<complexType>
<sequence>
<element name="end" type="vlvx:endType"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
Thanks
Mark
--
Mark Hughes
Agile HTML Editor
http://www.agilic.com
Received on Monday, 15 January 2001 10:35:38 UTC