[NeXus-definitions-tickets] [NeXusDefinitions] #15: Generate XML Schema for NeXus definitions

NeXus Base Classes and Instrument Definitions noreply at nexusformat.org
Wed Dec 17 14:59:21 GMT 2008


#15: Generate XML Schema for NeXus definitions
----------------------------+-----------------------------------------------
Reporter:  Freddie Akeroyd  |        Owner:  Freddie Akeroyd
    Type:  defect           |       Status:  new            
Priority:  major            |   Resolution:                 
Keywords:                   |  
----------------------------+-----------------------------------------------
Comment (by Pete Jemian):

 In some base classes (such as NXdetector), there are several NXDL group
 declarations that refer to the same base class (NXnote, for example).  In
 some cases, at least one of these is named.  Generally, this produces
 multiple elements with the same name attribute in the produced XSD files.
 Such files do not pass the rules for valid XSD; the errors are flagged as
 "Unique Particle Attribution violations."

 Since it is the intention to validate NeXus data files using a tool
 (NXvalidate), then we can consider the additional condition that '''all
 elements in a class will be sorted alphabetically so that multiple
 declarations will be resolved at validation time.'''  Perhaps the XSLT can
 do this sorting as well, and thus resolve/coalesce the multiple
 definitions.

-- 
Ticket URL: <http://trac.nexusformat.org/definitions/ticket/15#comment:38>
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