[NeXus-definitions-tickets] [NeXusDefinitions] #272: NXtransformation and "anonymous" field in NXDL specification

NeXus Base Classes and Instrument Definitions noreply at nexusformat.org
Thu Apr 17 19:34:03 BST 2014


#272: NXtransformation and "anonymous" field in NXDL specification
-------------------------+------------------------
 Reporter:  Pete Jemian  |      Owner:  Unassigned
     Type:  enhancement  |     Status:  new
 Priority:  major        |  Milestone:
Component:  general      |   Keywords:
-------------------------+------------------------
 In the NXtransformation NXDL specification, there appears an unnamed field
 (field element with no name attribute).  The present NXDL rules do not
 allow this.

 Should the rules (nxdl.xsd) be extended to provide for anonymous fields or
 can this idea be redesigned to avoid this situation?

 The nxdl.xsd could define an "anonymous attribute, such as:
 {{{
  <xs:attribute name="anonymous"
                type="nx:NX_BOOLEAN"
                use="optional"
                default="false">
         <xs:annotation>
                 <xs:documentation>
                         Name of this field is not known or defined
                         by the NXDL specification.
                 </xs:documentation>
         </xs:annotation>
  </xs:attribute>
 }}}

 The nxdl.xsd would also need to assert this rule:

  name is defined and anonymous is false
  -- ''or'' --
  name is not defined and anonymous is true

--
Ticket URL: <http://trac.nexusformat.org/definitions/ticket/272>
NeXus Base Classes and Instrument Definitions <http://www.nexusformat.org/>
NeXus Base Classes and Instrument Definitions



More information about the NeXus-definitions-tickets mailing list