eclipse-ee4j / jaxb-ri

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

Classes for elements of the same type created every time in episodic generation #1090

Open Tomas-Kraus opened 8 years ago

Tomas-Kraus commented 8 years ago

I have two xsd files. In the base xsd file I have two elements of the same type. Therefore one of them is not created with XmlRootAnnotation and is not written into episode.xjb file when generating schema for the base xsd. It leads to creating this class again for the second xsd, since it is not presented in any way in the episode.xjb. It seems that it's not supported at all as for now. Version tested: 2.2.11

Tomas-Kraus commented 5 years ago
Tomas-Kraus commented 8 years ago

@glassfishrobot Commented Reported by Artemik

Tomas-Kraus commented 8 years ago

@glassfishrobot Commented artemik said: Need to mention that they have the same namespace and the base xsd is xsd:include'ed in the second one.

Tomas-Kraus commented 8 years ago

@glassfishrobot Commented Was assigned to yaroska

Tomas-Kraus commented 7 years ago

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