[NeXus-tech] propose adding default for nxdl:definition/@extends

Peterson, Peter F. (pf9) petersonpf at ornl.gov
Thu Nov 20 12:59:03 GMT 2008


Only if we can set the default primitive type for fields and attributes to
be NX_CHAR.

P^2


On 11/19/08 7:03 PM, "Pete Jemian" <prjemian at gmail.com> wrote:

> 
> In the "definition" element, can we default the "extends" attribute to
> NXobject?
> 
>     <xs:complexType name="definitionType">
>         <xs:group ref="nx:groupGroup" minOccurs="0" maxOccurs="unbounded" />
>         <xs:attribute name="name" use="required" />
>         <xs:attribute name="type" use="required"
> type="nx:definitionTypeAttr" />
>         <xs:attribute name="extends" use="required" />
>     </xs:complexType>
> 
> change to
>         <xs:attribute name="extends" use="required" default="NXobject" />



More information about the NeXus-tech mailing list