[Nexus-developers] nexus spec: handling of NXgeometry, NXlog, NXbeam, NXdata, ... entrys ?!?

Hartmut Gilde Hartmut.Gilde at frm2.tum.de
Tue Apr 27 15:02:35 BST 2004


Hello again,

i wrote a parser that scans through the meta-DTDs and automatically constructs 
classes and a NeXus validator out of it.

Now i encountered some odd things:

1) in NXmonitor.xml it reads:
<NXgeometry name="">{Geometry of the monitor}?</NXgeometry>

2) in NXsample it reads:
 <geometry type="NXgeometry">{The position and orientation of the center of 
mass of the sample}?</geometry>

3) and for the confusion to be complete, NXsensor.xml says (look at the start 
and end tags):
<NXgeometry name="">{Defines the axes for logged vector quantities if they are 
not the global instrument axes}?</position>


That doesn't seem to be well thought out.

Humpff, now why isn't 
<geometry type="NXgeometry">?</geometry>

transformed to
<NXgeometry name="geometry ">?</NXgeometry>


Hartmut Gilde





More information about the NeXus-developers mailing list