From: Angel P. <an...@ma...> - 2007-10-05 17:00:22
|
On 10/5/07, Matthew Chambers <mat...@va...> wrote: > > Angel Pizarro wrote: > > (2) count attributes in list like element types > > > > I *really* don't like the count attribute in list types (e.g. > > instrumentList[@count]). I think they are not too informative and > > prone to error (just another condition to code and maintain) > If you don't want to maintain the count attributes, ignore them. :) > They are mainly useful for human consumption, or if you wanted to write > a very (but bulky) fast parser with low error checking. The count atts are required, so you can't just ignore them. Plus if you do, then you won't be playing nice with other tools out there that do use them. Meaning that: (a) all write tools must encode counts properly (b) all read tools must check the count attribute's correctness since (a) may not actually be true, thus completely defeating the point of having this attribute in the first place. Simpler on everybody if we just get rid of it in these spots. BTW this is a different issue than the arrayLength attribute on the binary arrays, which I think have enough of a pay-off to justify their existence. -angel -Matt > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Psidev-ms-dev mailing list > Psi...@li... > https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev > -- Angel Pizarro Director, Bioinformatics Facility Institute for Translational Medicine and Therapeutics University of Pennsylvania 806 BRB II/III 421 Curie Blvd. Philadelphia, PA 19104-6160 P: 215-573-3736 F: 215-573-9004 |