From: Lennart M. <len...@gm...> - 2008-08-28 10:44:20
|
Hi Wilfred, The instrument configuration is a rather complex bit of XML Schema engineering. The configuration has a list of components (at least 3 components must be specified) and component is an abstract type for source, analyzer and detector. This allows the mixing of any number of components in any order, as long as there are a minimum of three (a source, an analyzer, and a detector). As you've pointed out, the documentation thus contains some errors. We'll fix these. Finally, when in doubt, always consult the XML Schema -- it is the basic definition of an mzML file. The semantic validator then simply adds an additional layer on top of the schema. Cheers, lnnrt. Wilfred H Tang wrote: > > > > * There is a mistake somewhere in the rules regarding the > > > specification of mass analyzer. There are numerous instrument types > > > that have multiple mass analyzers, but the validator rejects any > > > instrument that contains more than one mass analyzer. Currently, only > > > one <analyzer> subelement is allowed under <componentList>, and the > > > <analyzer> element is only allowed to have one child mass analyzer > > > type CV term. > > > You can indeed have several analyzer elements in your componentList, see: > > > http://trac.thep.lu.se/trac/fp6-prodac/browser/trunk/mzML/plgs_example.mzML > > at line 29-44. > > Yes, I see from the example how that is supposed to work. So it appears > that the documentation > (http://www.sbeams.org/tmp/mzML1.0.0.html#analyzer) is wrong? > > *Element <componentList>* > *Definition:* List with the different components used in the mass > spectrometer. At least one source, one mass analyzer and one detector > need to be specified. > *Attributes:* > *Attribute Name* > > *Data Type* > > *Use* > > *Definition* > count xs:nonNegativeInteger required The number of components in this > list. > > > *Subelements:* > *Subelement Name* > > *minOccurs* > > *maxOccurs* > > *Definition* > _source_ <http://www.sbeams.org/tmp/mzML1.0.0.html#source> 1 1 A > source component. > _analyzer_ <http://www.sbeams.org/tmp/mzML1.0.0.html#analyzer> 1 1 A > mass analyzer (or mass filter) component. > _detector_ <http://www.sbeams.org/tmp/mzML1.0.0.html#detector> 1 1 A > detector component. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > |