From: Marc S. <stu...@gm...> - 2009-07-10 08:14:15
|
I vote for forcing the version to "1.0.0" or "1.1.0" using an enum. Like that we can validate that a correct version is used. -Marc Angel Pizarro wrote: > I don't know. Seems like double data entry to me, or a code smell held > over from the ramp days of XML parsing by line. > > > On Thu, Jul 9, 2009 at 6:50 PM, Matthew Chambers > <mat...@va... > <mailto:mat...@va...>> wrote: > > I concur. This should be given a forced value in the schema equal > to the > schema's version. I think we have a chance to use our revision number > which indicates the new schema version will cause no problems with > backward compatibility (unless of course you wrote the wrong version, > which is the whole point of the revision). > > -Matt > > > Marc Sturm wrote: > > Hi all, > > > > we just noticed that the 'version' attribute of the 'mzML' > element is > > mandatory but can be left empty. We should either force a correct > > version it with a regular expression, with an enum, or at least > set the > > minimum length to 5. Any opinions? > > > > -Marc > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited > time, > vendors submitting new applications to BlackBerry App World(TM) > will have > the opportunity to enter the BlackBerry Developer Challenge. See > full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Psidev-ms-dev mailing list > Psi...@li... > <mailto:Psi...@li...> > https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev > > > > > -- > Angel Pizarro > Director, ITMAT Bioinformatics Facility > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > ------------------------------------------------------------------------ > > _______________________________________________ > Psidev-ms-dev mailing list > Psi...@li... > https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev > |