Skip to content

Commit

Permalink
move attribute out of xs:sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Jan 7, 2025
1 parent f66ea4e commit 5a7fecb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions nxdl.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1252,14 +1252,6 @@ https://stackoverflow.com/a/48980995/1046449 -->
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:attribute name="open" use="optional" type="nx:NX_BOOLEAN" default="false" >
<xs:annotation>
<xs:documentation>
Is this an open enumeration?
An open enumeration allows additional values not listed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:element name="item" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
Expand Down Expand Up @@ -1292,6 +1284,14 @@ https://stackoverflow.com/a/48980995/1046449 -->
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="open" use="optional" type="nx:NX_BOOLEAN" default="false" >
<xs:annotation>
<xs:documentation>
Is this an open enumeration?
An open enumeration allows additional values not listed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>

<xs:complexType name="dimensionsType">
Expand Down

0 comments on commit 5a7fecb

Please sign in to comment.