On Tuesday, July 9, 2002, at 11:34 am, Age Mooy wrote:
>> Also, I don't want to have to write additional mappings for all the >> classes and I want primitive data in elements not attributes, which >> would mean using a tweaked Castor XML - there didn't seem to be any >> mention of this being configurable. > > Try http://jakarta.apache.org/commons/betwixt/ This looks interesting. I guess I could add something to Torque to automatically generate appropriate .betwixt files (or Castor XML mappings) when generating the OM. I'll look some more at this later. > JSR57 (from memory) dealt with XML serialization and the result was > added to > the java.beans package in jdk 1.4. See > http://java.sun.com/j2se/1.4/docs/guide/beans/changes14.html for an > explanation of the new features. > It's nice they've put that XMLEncoder in there, but it's more Java-oriented in syntax and less data-oriented (void statements, classnames, etc.) Also don't want to force upgrading to 1.4 just yet. Gareth -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
