wdamick / legstar

Automatically exported from code.google.com/p/legstar
0 stars 0 forks source link

Generate additional JAXB annotations for XML Schema enumerations to improve support for level 88 #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using legstar-cob2xsd, COBOL level 88 can optionally produce XML Schema 
enumerations.

The problem is that JAXB subsequently ignores these enumerations because:

1. They are produced within anonymous simple types
2. Members could be numeric values rather than strings (if the COBOL field was 
numeric)

To overcome this, legstar-jaxbgen should generate "typesafeEnumClass" and 
"typesafeEnumMember" annotations to help JAXB produce Enum classes. 

Original issue reported on code.google.com by fady.mou...@gmail.com on 9 Apr 2011 at 8:29

GoogleCodeExporter commented 8 years ago

Original comment by fady.mou...@gmail.com on 9 Apr 2011 at 8:31

GoogleCodeExporter commented 8 years ago

Original comment by fady.mou...@gmail.com on 22 Jul 2011 at 10:18

GoogleCodeExporter commented 8 years ago

Original comment by fady.mou...@gmail.com on 23 Jul 2011 at 5:27