anonymous wrote : | 1) There is no logging so I can't see what is happening. I started adding some. | This was present in the old implementation, including being able to see | what rules where defined. | | 2) There are a number of places that assume that all collections are lists, | I have some sets.
That's right. The code has just been written and not used/tested much yet. Sorry. anonymous wrote : | 3) I also need support for Maps. | Accepted. 4) Currently, unless you keep beans element, you can't do it. Also accepted. 6) Attribute bindings do work. XmlValueBinding is not yet supported for them. anonymous wrote : | 7) Should I even have to define String attributes that map directly onto the javabean? Do you mean that I could figure bindings out by using introspection? If so, you should create a DocumentBindingStack and add RuntimeDocumentBinding to it. Then, customize the bindings that can't be done with introspection. For an example have a look at | package org.jboss.test.xml; | public class UnmarshallingMetaDataTestCase | public void testRuntimeBookMetadata() throws Exception | ... | | DocumentBindingFactory factory = DocumentBindingFactory.newInstance(); | DocumentBinding doc = factory. | newDocumentBindingStack(). | push(RuntimeDocumentBinding.class); | | NamespaceBinding ns = factory.bindNamespace(doc, nsUri, pkg); | TopElementBinding book = ns.getTopElement(bookQName.getLocalPart()); | factory.bindElement(book, | characterQName.getNamespaceURI(), | characterQName.getLocalPart(), | "characters", | BookCharacter.class | ); | Thanks for the feedback. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866206#3866206 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866206 ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
