xsd: make name attribute required

This commit is contained in:
Matthias Bernt
2022-01-26 09:50:59 +01:00
committed by mvdbeek
parent b7ef626fdf
commit 977f0fa881
+1 -1
View File
@@ -2939,7 +2939,7 @@ demonstrates both testing strategies.
<xs:sequence>
<xs:group ref="InputElement" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string">
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">Name for this element</xs:documentation>
</xs:annotation>