mykovalenko / legstar-cob2xsd

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

Must disambiguate siblings with same name #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. This structure:
           03 FILLER.
              05 F PIC X(021).
              05 F PIC X(021).

2. generate XSD
3. produces 2 sibling elements named f

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

Siblings, which are nor FILLER, should have a unique name otherwise XJC will 
later throw exceptions like these:

[ERROR] compiler was unable to honor this cobolElement customization. It is 
attached to a wrong place, or its inconsistent with other bindings.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by fady.mou...@gmail.com on 22 Nov 2010 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by fady.mou...@gmail.com on 25 Jul 2011 at 7:00

GoogleCodeExporter commented 9 years ago

Original comment by fady.mou...@gmail.com on 25 Jul 2011 at 9:45