[NeXus-committee] suggestion: remove attribute 'index' from NXDL element <dim>
Pete Jemian
prjemian at gmail.com
Wed Aug 20 23:15:12 BST 2014
Perhaps it's the general documentation that did not keep up with changes
in the meaning? That happens.
In this case, the intention of index="0" is described (consistently) but
this usage did not make it into the documentation for the "index"
attribute of the "dim" element in nxdl.xsd.
Here is what that documentation says now:
<xs:attribute name="value" type="nx:NX_CHAR">
<xs:annotation>
<xs:documentation>
Integer length (number of values), or mnemonic symbol
representing the length of this axis.
</xs:documentation>
</xs:annotation>
</xs:attribute>
It needs this additional explanation to be added.
If you agree with this remark, can you please make that change?
Pete
On 8/20/2014 2:03 PM, Joachim Wuttke wrote:
> Here too, current usage is not uniform.
>
> There are three instances where <dimension>
> does not start with <dim index="1" ..>:
>
> $ grep 'index="0' */*.nxdl.xml
> base_classes/NXdata.nxdl.xml:177: <dim index="0"
> value="n"><!-- index="0": cannot know to which dimension this applies a
> priori --></dim>
> base_classes/NXdata.nxdl.xml:225: <dim index="0"
> value="n"><!-- index="0": cannot know to which dimension this applies a
> priori --></dim>
> base_classes/NXmonitor.nxdl.xml:108: <dim index="0"
> value="n"><!-- index="0": cannot know to which dimension this applies a
> priori --></dim>
>
>
>
>
> _______________________________________________
> NeXus-committee mailing list
> NeXus-committee at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-committee
>
More information about the NeXus-committee
mailing list