RE: Modifying XmlBeans document without XmlValueDisconnectedException?

2013-08-19 Thread Paul Gillen
llen -Original Message----- From: Lott, Christopher M [mailto:cl...@appcomsci.com] Sent: Monday, August 19, 2013 9:33 PM To: Subject: Re: Modifying XmlBeans document without XmlValueDisconnectedException? Thanks to Nick B. and Paul G. for their quick replies! Below is code that d

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

RE: Modifying XmlBeans document without XmlValueDisconnectedException?

2013-08-19 Thread Paul Gillen
Since I think I can answer your question I probably misunderstand it. :) However ... Given an XSD: http://www.w3.org/2001/XMLSchema";>

Re: Modifying XmlBeans document without XmlValueDisconnectedException?

2013-08-19 Thread Nick Burch
On Mon, 19 Aug 2013, Lott, Christopher M wrote: We use XmlBeans, code generated from a schema, to read in an XML instance that conforms to the schema and modify it. Read and validate work fine; modify is killing me. For example, change the value of an element, delete an element from a list, e