javaee / jaxb-v2

Other
210 stars 100 forks source link

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

Open glassfishrobot opened 8 years ago

glassfishrobot 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

glassfishrobot commented 8 years ago

Reported by Artemik

glassfishrobot commented 8 years ago

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

glassfishrobot commented 8 years ago

Was assigned to yaroska

glassfishrobot commented 7 years ago

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