Ok, it seems like I am going to disappoint you. Being a Junior Scientist, I have been doing a lot of research trying to come up with the best unmarshalling metadata/handling model based on your XML snippets and requirements for customizing bindings from different sources including inheritance of bindings from parent binding sources. As a result, I now have three prototypes:
1) org.jboss.xml.binding.metadata.unmarshalling You are using this one. You are right, there is no notion of a type here. 2) org.jboss.xml.binding.metadata This one does have a notion of a type. Different elements can use the same type. It was hard to support nested maps in this model and I found other limitations. So, I came up with the third one. 3) org.jboss.xml.binding.sunday.unmarshalling This is the model I currently believe in since with this API all your (XML/Java binding) requirements I know of seem to be met. There is a testcase for the XML snippet from you using this api in | package org.jboss.test.xml; | public class MiscUnitTestCase | public void testConfigWithSunday() throws Exception | This is very verbose. It doesn't use defualt binding rules yet (I am working on it right now), i.e. it requires manual binding for each element/attribute/text_content. As a prototype, it is under active development. I am sorry for making you learn new API each time. The last one should be sufficient in features for you. Let's get the first binding of your xml done (maybe not in a convenient way) and then let me maintain that part. I am looking at your testcases. I could convert them to use the new API. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870549#3870549 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870549 ------------------------------------------------------- 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 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development