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 \
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 \