Skip to content

Commit a75c2ee

Browse files
author
Weiwu Zhang
committed
RFC4912 required a <type> for a named type that defines a type
1 parent 92dd2be commit a75c2ee

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

schema/asnx.xsd

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,18 @@
1919

2020
<complexType name="namedType">
2121
<choice>
22-
<element name="sequence" type="asnx:container"/>
22+
<element name="element" type="asnx:element"/>
23+
<element name="type">
24+
<complexType>
25+
<choice>
26+
<element name="sequence" type="asnx:container"/>
27+
</choice>
28+
</complexType>
29+
</element>
2330
</choice>
2431
<attribute name="name" type="NCName"/>
2532
</complexType>
33+
2634
<complexType name="container">
2735
<choice maxOccurs="unbounded">
2836
<element name="element" type="asnx:element"/>

0 commit comments

Comments
 (0)