January 16, 2003

Betwixt, preparing the first release

Working hard now to have our first release of betwixt. Still a lot on the wish / todo list, but we have to release one day. I thought I did some great work on recursion of elements, but it seems that it is not working that great. All my testcases ran fine, but the problem was that my testcases just read and wrote the xml without actually checking if everything went ok (besides the out of memory exception that can occur with recursion). What I really love to see in betwixt is namespace support (probably after the first release), but I am still breaking my head over this problem. How to read namespaced elements isn't that much of a problem.. But how to write them ? How should I know which namespace something should end up in. If I figured this out (probably James or Robert already have a better overview of this..), we can even use betwixt for jelly scripts (jelly already has support for betwixt btw) For people who don't know betwixt:
The Betwixt library provides an XML introspection mechanism for mapping beans to XML in a flexible way. It is implemented using an XMLIntrospector and XMLBeanInfo classes which are similar to the standard Introspector and BeanInfo from the Java Beans specification. Betwixt provides a way of turning beans into XML as well as automatically generating digester rules in a way that can be customized on a per type manner in the same way that the BeanInfo mechanism can be used to customize the default introspection on a java object.
Posted by mvdb at January 16, 2003 06:35 PM