[NeXus-tech] NXDL definition of "link"
Pete R. Jemian
jemian at anl.gov
Thu Oct 14 20:48:00 BST 2010
While developing documentation for NXDL, I see that the definition of a
link (in nxdl.xsd) is not what I was expecting.
It's wrong. I want to fix it.
See http://trac.nexusformat.org/definitions/ticket/129
Presently, the NXDL schema defines a link (in <xs:group
name="groupGroup">) as a child element of a <group/>. This means an NXDL
specification could have a <link/> element at the same level as a
<field/> element. That's not how we use links in NeXus. Instead, links
are used within the target attribute of a <field/>, such as
<polar_angle target="/NXentry/NXinstrument/NXdetector/polar_angle">
My proposition is to change nxdl.xsd:
1. remove the existing definition of "link" from
<xs:group name="groupGroup">
2. remove the definition of <xs:complexType name="linkType">
3. add an optional attribute target to
<xs:complexType name="fieldType"> defined similarly to
the existing linkType definition.
Pending remarks to the contrary, I should like to commit this change on
October 21.
Pete
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <jemian at anl.gov>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nxdl_xsd_Complex_Type_nx_groupType.jpeg
Type: image/jpeg
Size: 99654 bytes
Desc: not available
URL: <http://lists.nexusformat.org/mailman/private/nexus-tech/attachments/20101014/60852112/attachment-0001.jpeg>
More information about the NeXus-tech
mailing list