Hi,
I have a "Why does it do that?" type of question. I am currently using jaxb
1.02 and have an enumeration defined similar to the following, I am using
external binding files to generate the enum classes.
<xs:simpleType name="FooEnum">
... some other value...
<xs:enumeration value="FV"/>
</xs:simpleType>
The external binding file has:
<jxb:bindings node="//xs:simpleType[@name='FooEnum']">
<jxb:typesafeEnumClass name='FooEnum'>
... other enum members ...
<jxb:typesafeEnumMember name="F2VALUE" value="FV" />
</jxb:typesafeEnumClass>
</jxb:bindings>
The above F2VALUE is generated as FooEnum.F_2_VALUE instead of
FooEnum.F2VALUE. Why is this? It always seems to wrap the number with
underscores.
Thanks,
Phil Culver