OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

election-services message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [election-services] Blank enumerations on attributes - e.g.Source@Role


What "other" role could there be?  If we can't think of one then removing the blank would seem to be the logical thing to do.



From: David RR Webber (XML) [david@drrw.info]
Sent: 05 April 2010 19:36
To: eml
Subject: [election-services] Blank enumerations on attributes - e.g. Source@Role

I've noticed we have a blank enumeration value defined.
I think this is generally bad practice.  I'd suggest that it is better to either make the item optional, or add an explicit value to cover off the "other" scenarios, or removing the blank value entirely.
So in case of Role we have:
'next receiver' , 'previous sender' , 'receiver' , 'sender' ,''
as values - whereas replacing the '' with 'other' - may provide better clarity - or just removing it - and requiring people pick a value.
Thanks, DW
--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]