Hi Cameron,

You're welcome to take Xsd2Jibx in whatever direction you'd like, providing you're willing to take responsibility for maintaining it. I'm probably going to take a look at writing a replacement for the current implementation myself, with my own version of source code generation and a lightweight schema model. Part of the reason for this is that I need to do code generation from schemas embedded in WSDL for JibxSoap clients, and I'd like to have the JibxSoap-specific part combined with the data model part. But with my usual backlog of things to be done I don't know when I'll actually get started on this, and if you can come up with a full-scale Xsd2Jibx in the meantime it'll be a strong incentive for me not to mess with that part of things.

 - Dennis

Cameron Taggart wrote:

I've finished my evening certifacate program and other things have settled down a bit, so I've had a couple of evenings to take a look at Xsd2Jibx. I've been hacking together a prototype with a new architecture for the tool. I have been able to create JiBX binding files using the org.jibx.binding.model package supplied with JiBX rc0 instead of the custom marshalling support within Xsd2Jibx. I have been able to use the new standalone build from the latest integration build of Eclipse XSD v2.1.0 instead of the custom unmarshalling support within Xsd2jibx. I haven't found a better standalone code generation tool than JaxMe JS, so I upgraded the library I'm using to v0.4.

The prototype makes me think the architecture will work. Since, I'm not trying to create my own xsd model, it should be a lot easier and a lot less code than before. I'm using Eclipse 3.1 and Java 5 to build it. I like generics and am not interested in making the tool run in a earlier JDK versions in my "free time". The output will initially support earlier versions. I do not know yet if the JaxMe JS stuff supports generics. Dennis will be glad to here that I've abandoned Magic completely. I do however tend to use Maven a lot these days rather than Ant. What I may use for this version is still up in the air.

I guess I'm looking for feedback. Dennis, am I allowed to make significant changes to the xsd2jibx head branch when it comes time for me to checkin stuff?

Cameron


On 4/4/05, *Dennis Sosnoski* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Yes, the JiBX RC0 and Xsd2Jibx 0.2 beta should be out this week. I'd
    hoped to have them ready to go by now, but lost most of the
    weekend to a
    nasty cold virus. At present I'm working on one more bug
    fix/enhancement, along with documentation updates.

    I'm going to be looking into some of these same issues for client-side
    code generation support in JibxSoap. I think JET looks
    interesting, but
    want to check into how much library support is required for using the
    template classes. I'm not sure what the best approach is for the
    actual
    schema handling. In the schema generation code I just build it
    directly
    as a DOM. Reading one into a DOM and processing it from there doesn't
    seem to present any huge problems. I'm skeptical about the
    advantages of
    using a model such as the Eclipse one for schema; if anything, I'd
    suggest using Kohsuke Kawaguchi's MSV which at least allows RNG
    and DTD
    input in addition to schemas. I may take another look at this myself;
    one thing I'm not certain of is the level of schema support included.

    And I strongly recommend you switch back to Ant from Magic. You
    know the
    history I had with trying to make Magic work for the build.

    I don't understand the issue with JDK 1.5 and Eclipse, though I've
    seen
    references to this elsewhere as well. I switch freely between 1.4 and
    1.5 for compiling and debugging programs in Eclipse and haven't
    seen any
    problems. Are you looking for 1.5-specific features in the IDE?

      - Dennis

    Cameron Taggart wrote:

    >I like challenges and the witsml.org <http://witsml.org> drilling
    well schemas look fun!
    >I like that they provide the xml samples as well.  I may try them
    out.
    >
    >Dennis, are you planning to release and tag a version of xsd2jibx
    >soon?  I'm thinking about phasing in some changes and didn't want to
    >disrupt your plans.
    >
    >1)  The first thing I want to do is switch xsd2jibx over to use your
    >new binding model in org.jibx.binding.model .
    >2) Use www.eclipse.org/xsd <http://www.eclipse.org/xsd> object
    model instead of my home grown one.
    >3) evaluate www.eclipse.org/emf <http://www.eclipse.org/emf> JET
    for source code generation rather
    >than JaxMe JavaSource.
    >4) possibly drop Magic support in favor of plain Ant
    >
    >I've been playing around with the org.eclipse.xsd.XSDSchema and
    >related classes a lot this weekend.  I've loaded up a couple of
    basic
    >schemas and I've been able to navigate the object model to get
    all the
    >information I'm interested in for xsd2jibx.  It wasn't extremely
    >simple, but it does work.  I believe the XSD stuff is usuable
    outside
    >of eclipse, but the JET stuff is not.  I am also not sure if
    either is
    >compatible with JDK 1.3.  Of course my experiments this weekend were
    >all using JDK 1.5 and I wish all these libraries were updated.  :)
    >
    >So as far as timeline goes.  I think you are going to be releasing a
    >new beta or RC of JiBX soon.  Hopefully, you will release an
    update of
    >xsd2jibx too.  Then perhaps I can work on 1 & 2 and we can do a
    >release after that.
    >
    >Cameron
    >
    >
    >
    >
    >On Mar 28, 2005 9:58 AM, Richard Melville <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
    >
    >
    >>Hi devs,
    >>
    >>   just wondering about the plans for xsd2jibx - from browsing
    >>the list archives it seems that it might be destined to stagnate.
    >>
    >>My project involves a large schema of about 100 business objects
    >>that is in flux as the standard develops.  A tool like xsd2jibx
    >>is invaluable to me.
    >>
    >>I have the current CVS and I've made a bunch of fixes to get the
    >>current version limping along.  Just wondering if Cameron is
    >>picking up the reigns or if anybody else is on the case.
    >>
    >>Richard
    >>
    >>
    >
    >
    >-------------------------------------------------------
    >SF email is sponsored by - The IT Product Guide
    >Read honest & candid reviews on hundreds of IT Products from real
    users.
    >Discover which products truly live up to the hype. Start reading now.
    > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
    <http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click>
    >_______________________________________________
    >jibx-devs mailing list
    >[email protected]
    <mailto:[email protected]>
    >https://lists.sourceforge.net/lists/listinfo/jibx-devs
    >
    >
    >


    -------------------------------------------------------
    SF email is sponsored by - The IT Product Guide
    Read honest & candid reviews on hundreds of IT Products from real
    users.
    Discover which products truly live up to the hype. Start reading now.
    http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
    <http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click>
    _______________________________________________
    jibx-devs mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/jibx-devs




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to