Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

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

Open
glassfishrobot opened this issue Feb 10, 2016 · 4 comments

Comments

@glassfishrobot
Copy link
Contributor

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
Copy link
Contributor Author

Reported by Artemik

@glassfishrobot
Copy link
Contributor Author

Was assigned to yaroska

@glassfishrobot
Copy link
Contributor Author

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

@glassfishrobot
Copy link
Contributor Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant