logo       

scomp question: msg#00095

text.xml.xmlbeans.user

Subject: scomp question

Hi,
I have the following scenario:
I have a set of schemas;
common.xsd, sub11.xsd, sub12.xsd, app1.xsd. 
Each of these schemas has their own target namespaces.
These schemas are related to each other in the following way:
sub11 imports common
sub12 imports common
app1 imports sub11, sub12 and common

app1, sub11 and sub12 are application specific schemas whereas common.xsd is a general purpose schema which can be imported by other schemas (i.e. sub21, sub22, and app2)

What I want is the following:
I want to scomp common.xsd and get a common.jar with all the common schema types in it.

Then I want to scomp app1.xsd to generate app1.jar BUT I do not want it to include the generated the schema types that are in common.jar already.

So I have generated common.jar, put that in the classpath and now ready to scomp app1.  Is there a way, directly from scomp command options or .xsdconfig, that I can accomplish this goal?


If there is not I guess I will end up with app1.jar and app2.jar which to the most part will contain schema types from common.xsd.



Thanks,
 
Dogan Atay

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

News | FAQ | advertise