logo       

Generating partial schemas: msg#00060

text.xml.xmlbeans.user

Subject: Generating partial schemas

Folks,

I'm having a bit of trouble generating only a limited set of stub classes for a set of schemas.

I'm creating a new add-on for an existing xmlbeans-based project. This add-on comes with its own xml schema in its own namespace that extends data types from the main project. To this end, the add-on xsd imports the main schema.

Now the thing is that I want the add-on project to generate xmlbeans stubs for the new elements only. However, because the add-on schema imports the main schema, xmlbeans decides to compile stubs for the main schema as well.

Is it possible to tell xmlbeans to only compile stubs for the elements in a specific schema and to ignore elements declared in imported and included schemas?

Ultimately I want to add the generated stubs of the new project to the classpath as an "add-on" or "plug-in" to the main project, so the stubs of both projects need to be compatible.

regards,
Erik van Zijst


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise