Hi Jacob, On 4/11/07, Jacob Danner <[EMAIL PROTECTED]> wrote:
Hi Ivan, In response to your comments. 1) XMLBeans should preserve ordering regardless of the order of method invocation. Are you not seeing this? I know there is a JIRA issue open regarding setXXX() when <xs:any> occurs in the sequence? Is it possible this is what you are running into? https://issues.apache.org/jira/browse/XMLBEANS-319
No, this one is different. The problem here is that if I call parent.setXXX(child), and then child.setXXX(property), the last statement will not be reflected in the resulting XML. But if I call the latter statement first, everything is fine. I think I'd better use addNewXXX() as Radu suggests.
2) I think this is standard apache infrastructure and might be better directed towards those alias'. Jacob Danner On 4/11/07, Ivan Balashov <[EMAIL PROTECTED]> wrote: > Hi, > > Just want to say a couple of things, which might have been already told, if > so, my apologies. > > First, when I generate XML document from generated Java classes, it would be > much better not to depend on the order of the methods I have to call to > populate the Xml Object graph. > For example, when I need to add a child element by invoking > parent.setXXX(child) method, I need to fully initialize and set up the child > object, and only then call parent.setXXX(). This is a bit annoying in my > opinion, because it limits my code style. We create an object graph, don't > we, so why there are dependencies on which object I attach to it first? > > And secondly, the mail list. I understand that there is a sacred tradition > going back many years to have a mailing list for the project. But why no > forum? Or google groups? Just to post this question one needs to go to goole > mail, exchange a pack messages to subscribe, then regularly get messages > he's not quite interested in, then finally unsubscribe. Wouldn't a simple > forum be better? Not to mention the searching capabilities of mailling > lists. You have to use google to search threads online, which is worse than > using internal search tools. > > That said, I want to thank Apache.org and XmlBeans for the magnificent work > they make publicly available. It is truly amazing. > > -- > Kind Regards > Ivan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Kind Regards Ivan

