Modifying XmlBeans document without XmlValueDisconnectedException?

2013-08-19 Thread Lott, Christopher M
I tried asking this on StackOverflow, but then realized that this email list is probably the better place, so please forgive if you read both places. I hope someone can please find time to answer. We use XmlBeans, code generated from a schema, to read in an XML instance that conforms to the

Re: Modifying XmlBeans document without XmlValueDisconnectedException?

2013-08-19 Thread Lott, Christopher M
Thanks to Nick B. and Paul G. for their quick replies! Below is code that demonstrates, at least superficially, the exception that we get. We are doing something wrong in our code; I don't suspect an XmlBeans bug at this point. This code is derived from (and depends on the schema and example

Add to XmlBeans FAQ re orphaned objects and XmlValueDisconnectedException

2013-08-20 Thread Lott, Christopher M
I would like to suggest an addition to page http://wiki.apache.org/xmlbeans/XmlBeansFaq but I cannot edit it, so am trying the email list. Please redirect me if I'm sending this to the wrong place. Is this Q A sufficient and clear? Thanks for listening. Q: Why am I getting