[Note]inconsistent Boolean usage in model
Jia Fenggen <[email protected]>
| Newsgroups | gmane.ietf.forces |
|---|---|
| Message-ID | <[email protected]> |
In the newly uploaded model draft,there is a problem in using BooleanType on FE model schema:we define the BooleanType to be an enumeration only allowing "0" and "1",but when we use that to define port group attribute,we use "yes" and "no",so there is an inconsistency problem.I suppose the following solvements: 1 delete the BooleanType and use the built-in boolean. 2 keep the BooleanType and define the BooleanType as follows:(joes's suggestion) 1) Change group="no"/"yes" to group="0"/"1". 2) Change booleanType to only allow "no" and "yes". 3) Change booleanType to "false" and "true", and find all uses and fix them to "false/"true" as well. 4) change boolean type to allow "0", "1" and "no", "yes", and "true", "false". if we keep the definition,I suppose we use one of the above presentation,such as 2) or 3). Any suggestion? Yours,Fenggen _________________________________________________________________ 璐逛杞 MSN Explorer: http://explorer.msn.com/lccn/