Skip to content

NXDL: The <symbols /> block must appear before the <doc /> block. #1087

@prjemian

Description

@prjemian

The <symbols /> block must appear before the <doc /> block.

Can this rule be relaxed?

definitions/nxdl.xsd

Lines 200 to 219 in ffa3198

<xs:sequence>
<xs:element name="symbols" type="nx:symbolsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Use a ``symbols`` list
to define each of the mnemonics that
represent the length of each dimension in a vector or array.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="nx:groupGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
In addition to an optional ``symbols`` list,
a ``definition`` may contain any of the items
allowed in a ``group``.
</xs:documentation>
</xs:annotation>
</xs:group>
</xs:sequence>

Originally posted by @prjemian in #996 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions