When I define a an integer enumeration,e.g. only 1,2,6 are valid entries,
the generated source code has the following problem:
Because the numbers are stored as strings ("1", "2", "6") conforming XML
files might be rejected if they use leading zeros. The validation does a
string compare, therefore, "01" and "1" are not the same. However, they are
both the same number (integer enumeration not string enumeration!).
This should be fixed by first converting the number and then comparing it to
an integer constant.
Is this a bug, or am I missing something?
Kind regards
Dr. Hartmut Kocher
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev