Thanks for giving me the hints to Castor and Jibx.
Castor only supports schema generation from existing xml documents, but not from
java source files.
Jibx has a schema generation tool which generates a schema from source files and
the associated mapping files. Current version is 0.4... Maybe I'll give it a try.
Regards,
Abid
Jacob Danner schrieb:
I don't think XMLBeans has what you are looking for in terms of
creating a schema from existing java sources in the way JAXB's schema
gen tool does.
Have you looked at Castor or JIBx?
-jacobd
On Tue, Nov 25, 2008 at 4:16 AM, Abid Hussain <[EMAIL PROTECTED]> wrote:
Hello everybody,
I'm looking for a tool which can map existing classes to a schema.
In Jaxb 2.0 this is possible (the tool is called schemagen) but only with
Java 1.5. Jaxb 1.0 supports Java 1.4 but doesn't have such a tool.
Does anybody know how to do so with Java 1.4? AFAIK there is no
schemagen-like tool in XMLBeans...
Regards,
Abid
--
Abid Hussain
---------------------------------------------------------------------
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]
--
Abid Hussain
Mail: [EMAIL PROTECTED]
Web: http://www.abid76.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]