[castor-user] marshal creates root element with wrong element name

2005-12-16 Thread Scott Curry
Hello, I have done my best to search the user mailing list, the documentation, and google to find an answer, but to no avail. The marshaller is creating the wrong element name for the root element of my document. Here is the schema (changed to protect the code) I used to generate the castor

Re: [castor-user] marshal creates root element with wrong element name

2005-12-16 Thread Henk van Voorthuijsen
On 16/12/2005, at 20:06, Scott Curry wrote: mapping class name=package.ExampleType auto-complete=true map-to xml=Example / /class /mapping Is there an easy way to change the element name used for the marshal that I have not tried? Why do I get back an empty element now that I am using a

Re: [castor-user] [JDO] Index out of bounds exception after query with 1:M-relation

2005-12-16 Thread Werner Guttmann
Stefan can you please open a new bug report and link it to CASTOR-1265, pretty please ? Regards Werner On Fri, 16 Dec 2005 20:34:15 +0100 (CET), Stefan Lober wrote: Hello, I get an exception when calling QueryResults.hasMore(). The exception is the same as in

[castor-user] Castor Marshalling vs. Object Serialization

2005-12-16 Thread Sam Hwang
Hi, The former one can be XMLize objects, but cannot deal with recursive object invokation; the latter can be done with normal JDK without external package, but cannot XMLize objects. But I think the XMLize functionality is quite limit, since it is mostly likely to be read again only by the

Re: [castor-user] marshal creates root element with wrong element name

2005-12-16 Thread Keith Visco
I'm not sure why your root element name is coming out wrong, but you can always change it using the Marshaller#setRootElement() method. --Keith Scott Curry wrote: Hello, I have done my best to search the user mailing list, the documentation, and google to find an answer, but to no avail.