Your best bet on this is probably my own JiBX project
(http://www.jibx.org), Dimitri. It provides flexible mappings between
Java classes and XML structures. The schema support is currently fairly
weak (both in terms of generating code from a schema, and in terms of
generating a schema from code and binding combination), but it sounds
like you don't need this anyway.
I believe JAXB 2.0 is offering a more limited form of support for
working with existing Java classes, but AFAIK the current license
prohibits using it for anything other than evaluation.
- Dennis
Radu Preotiuc-Pietro wrote:
This feature I think has been deemed out-of-scope for XmlBeans.
The problem is it would make it impossible to ensure all the XmlBeans
features work consistently with generated code and pre-existing code,
so it would confuse matters.
XmlBeans does the hard job of creating Java types based on the Schema,
and then it's user's responsibility to then create the adapters, is
pretty much how this goes.
Radu
-----Original Message-----
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
*Sent:* Thursday, December 01, 2005 12:35 AM
*To:* [email protected]
*Subject:* "start from both" feature
Hi.
Is there a way to start from both Java and schema, and customize
the binding rules between Java classes and the schema?
I know, that this feature has already been planned, but just
haven't seen its current state.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]