What steps will reproduce the problem?
1. A COBOL copybook such as:
01 DFHCOMMAREA.
03 ALTERNATIVE-A.
05 ODO-COUNTER PIC 9(4) COMP.
03 ALTERNATIVE-B REDEFINES ALTERNATIVE-A.
05 FILLER PIC XX.
03 ODO-ARRAY OCCURS 5 DEPENDING ON ODO-COUNTER.
05 FILLER PIC X.
2. Translate to XSD and generate binding classes
3. Run transformers, you get an exception:
com.legstar.coxb.transform.HostTransformException: Cannot locate counter
ODO-COUNTER
at com.legstar.coxb.transform.AbstractJavaToHostTransformer.transform(AbstractJavaToHostTransformer.java:204)
at com.legstar.coxb.transform.AbstractJavaToHostTransformer.transform(AbstractJavaToHostTransformer.java:131)
at com.legstar.coxb.transform.AbstractTransformers.toHost(AbstractTransformers.java:107)
Original issue reported on code.google.com by fady.mou...@gmail.com on 1 Feb 2015 at 7:12
Original issue reported on code.google.com by
fady.mou...@gmail.com
on 1 Feb 2015 at 7:12