Forum Moderators: open
<xs:complexType name="A">
<xs:choice minOccurs="0" maxOccurs="5">
<xs:element name="foo" />
<xs:element name="bar" />
</xs:choice>
</xs:complexType>
and this:
<xs:complexType name="A">
<xs:sequence minOccurs="0" maxOccurs="5">
<xs:choice>
<xs:element name="foo" />
<xs:element name="bar" />
</xs:choice>
</xs:sequence>
</xs:complexType>
They both seem to validate documents the same, however the first option causes xsddoc to list "foo" and "bar" as elements whereas with the second "A.foo" and "A.bar" are listed under complexTypes instead.
Are the two somehow different or is this just a quirk of the documentation tool?
Thanks!
So it's not really a quirk of your documentation tool, it's a quirk of defining Schema in a weird sort of redundant way