I think you are getting a little bit confused here, let me explain.

XmlBeans does *not* compile Java classes to schema.system package (you
give TypeSystemHolder as example, but that is a special case, the only
one class that gets generated there and it doesn't depend on your
Schema). They are generated (and compiled) in a package name that is
derived from the targetNamespace of your Schema using a simple
algorithm, or the package "noNamespace" if there is no targetNamespace.
Use the "src" option to scomp to see how Java types are generated. If
you want a different package than the default, you should use .xsdconfig
configuration files.

The "typesystemname" option should really not be necessary in 99.9% of
cases, so don't bother with it for the time being.

Hope this helps,
Radu

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ben
Sent: Wednesday, November 30, 2005 6:53 AM
To: [email protected]
Subject: Schema compilation to some specific package


Hi,

I am trying to generate sources for a schema into a specific package. My
problem is that XMLBeans always compile schema classes/src to
schema.system package. (TypeSystemHolder classe for instance)

The provided option typesystemname="mynamespace" only append the option
value to then original package path -> schema.system.mynamespace (tested
in version 1.04 and 2.1.0).

Is there a way to generate everything in a specific package?

Cheers,

Ben


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to