wdamick / legstar

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

COBOL Transformers generator does not support inner JAXB classes #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Use a COBOL structure with level 88 and check the "Map Conditions To Facets" 
option
2. Edit the simpleType produced for level 88 and add a customization like so:

            <annotation><appinfo>
                <jaxb:typesafeEnumClass name="MyValueOption" />
            </appinfo></annotation>

3. Generate the COBOL Transformers. The generated code does not compile

What is the expected output? What do you see instead?

The JAXB class contains an inner class. It should be referenced correctly like 
so:

import com.legstar.test.coxb.level88.Dfhcommarea.MyValueOption;

instead of :

import com.legstar.test.coxb.level88.Dfhcommarea$MyValueOption;

Original issue reported on code.google.com by fady.mou...@gmail.com on 5 Apr 2011 at 12:23

GoogleCodeExporter commented 8 years ago

Original comment by fady.mou...@gmail.com on 9 Apr 2011 at 4:16

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