RISCSoftware / cpacs_tigl_gen

Generates CPACS schema based classes for TiGL
Apache License 2.0
5 stars 5 forks source link

Equally named elements in different choices are not written #11

Open bernhardmgruber opened 7 years ago

bernhardmgruber commented 7 years ago

Elements with the same name appearing in two different branches of a choice are not written. The reason is that if the element is set in the first branch and not in the second (which is correct), when writing the second element the generated code checks for the existence of the (not set) element and removes it if it exists. E.g. \ in \