[jibx-users] Element references elements of different type

2007-06-12 Thread Holger Schultz
Hi all, i've run into a little problem here. Maybe someone has a solution or an idea how it could be solve. Within an XML-Document there is an element which references another element. If the referenced element is always of the same type I've got no problem by using ID/IDREF. Unfortunatelly in

[jibx-users] Eclipse plugin

2007-06-12 Thread Todd Nine
Hi all, I'm trying to use JibX 1.13 with the eclipse plugin. However this plugin only supports the 1.0 RC. I tried updating the jar files in the lib and the xml config for the plugin, but it fails with the new version. Can someone point me in the direction of the source so I can re-compile

Re: [jibx-users] Eclipse plugin

2007-06-12 Thread Dennis Sosnoski
Hi Todd, The source code for the plugin is available from the SourceForge repository, with the module name jibxeclipse. See http://sourceforge.net/cvs/?group_id=69358 for details of how to use this. It has been dropped from active distribution because there was no one to maintain it. -

Re: [jibx-users] Element references elements of different type

2007-06-12 Thread Dennis Sosnoski
Hi Holger, Maybe I'm missing something, but I don't see why using java.lang.Object wouldn't work for this case. ID/IDREF are an untyped linkage mechanism, so there shouldn't be any constraints on using the same form of references to different types of elements. - Dennis Dennis M. Sosnoski

Re: [jibx-users] Polymorphic binding problem with abstract mapping

2007-06-12 Thread Dennis Sosnoski
Hi Todd, Yes, it's definitely possible to map polymorphic collections in a couple of different ways. But to do so, you need to make use of the class structure. Your binding references the (private) fields of the abstract base class directly from within the mapping of the child class, so the

Re: [jibx-users] Eclipse plugin

2007-06-12 Thread Todd Nine
It appears you just found a volunteer :). I'm working with Jibx for the second time, but it would be nice to be able to run in eclipse. I use maven2, and I've found that setting the eclipse output path to target/classes causes synchronization issues with eclipse if a maven operation is

Re: [jibx-users] Polymorphic binding problem with abstract mapping

2007-06-12 Thread Todd Nine
Thanks for the reply Dennis. I realized my error about an hour after I sent my email. Its amazing when you take a break from an issue how easy the solution becomes. :). Thanks for the feedback. I'm very happy with Jibx for my current project. I've used it once before for a heavy traffic web