Skip to content

Commit 391da4e

Browse files
authored
Merge pull request doxygen#11188 from albert-github/feature/bug_xsd_sectiondef_member
XSD warnings
2 parents 776834b + 979ad04 commit 391da4e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

templates/xml/compound.xsd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,10 @@
174174
<xsd:sequence>
175175
<xsd:element name="header" type="xsd:string" minOccurs="0" />
176176
<xsd:element name="description" type="descriptionType" minOccurs="0" />
177-
<xsd:element name="memberdef" type="memberdefType" minOccurs="0" maxOccurs="unbounded" />
178-
<xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded" />
177+
<xsd:choice maxOccurs="unbounded">
178+
<xsd:element name="memberdef" type="memberdefType" minOccurs="0" maxOccurs="unbounded" />
179+
<xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded" />
180+
</xsd:choice>
179181
</xsd:sequence>
180182
<xsd:attribute name="kind" type="DoxSectionKind" />
181183
</xsd:complexType>

0 commit comments

Comments
 (0)