Skip to content

Commit

Permalink
Greatly simplify the NX_CHAR documentation
Browse files Browse the repository at this point in the history
Idea is to state that NX_CHAR is a string of characters, and remove the other documentation that doesn't seem as necessary nowadays.

Fixes #1441
  • Loading branch information
phyy-nx committed Sep 29, 2024
1 parent 956574a commit eb4b0be
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions nxdlTypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -473,12 +473,7 @@
<xs:simpleType name="NX_CHAR">
<xs:annotation>
<xs:documentation>
The preferred string representation is :index:`UTF-8`.
Both fixed-length strings and variable-length strings are valid.
String arrays cannot be used where only a string is expected
(title, start_time, end_time, ``NX_class`` attribute,...).
Fields or attributes requiring the use of string arrays will be
clearly marked as such (like the ``NXdata`` attribute ``auxiliary_signals``).
A string of characters. The preferred string encoding is :index:`UTF-8`.
This is the default field type.
</xs:documentation>
</xs:annotation>
Expand Down

0 comments on commit eb4b0be

Please sign in to comment.