eclipse-ee4j / jaxb-ri

Jaxb RI
https://eclipse-ee4j.github.io/jaxb-ri/
BSD 3-Clause "New" or "Revised" License
200 stars 110 forks source link

When <choice> refers two <element>s with the same name, parent properties are gone #778

Open Tomas-Kraus opened 14 years ago

Tomas-Kraus commented 14 years ago

The side effect occurs when of the contains two

that have same name, but from different namespaces. If this very complexType is extended with type A, the properties added as extension of type A, are slightly ignored, e.g. are not present in class A. In the given example, if element "ops:publication-reference" is renamed to "ops:publication-reference2", the property "List inquirySequence" is generated in class DocumentInquiry. Otherwise it is missed, and the resulting mapping is incomplete. #### Environment Operating System: All Platform: All #### Affected Versions [2.1.13]
Tomas-Kraus commented 5 years ago
Tomas-Kraus commented 14 years ago

@glassfishrobot Commented Reported by dma_k@java.net

Tomas-Kraus commented 14 years ago

@glassfishrobot Commented dma_k@java.net said: Created an attachment (id=366) Sample schema demonstrating the problem

Tomas-Kraus commented 14 years ago

@glassfishrobot Commented dma_k@java.net said: Corrected a bit a subject.

Tomas-Kraus commented 13 years ago

@glassfishrobot Commented snajper said: reassigning

Tomas-Kraus commented 14 years ago

@glassfishrobot Commented File: test.zip Attached By: dma_k@java.net

Tomas-Kraus commented 14 years ago

@glassfishrobot Commented Was assigned to snajper

Tomas-Kraus commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JAXB-778