xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Xmlbeans Wiki] Update of "XmlBeansFaq" by fx
Date Wed, 21 Aug 2013 20:05:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xmlbeans Wiki" for change notification.

The "XmlBeansFaq" page has been changed by fx:

Adding horizontal line

  Use CDATA options. Learn more here - CdataOptions.
+ ----
  <<Anchor(xmlValueDisconnectedException)>> '''Why am I getting !XmlValueDisconnectedException
when I try to change an XmlObject?'''
  The cause is that the XmlObject is an orphan; i.e., it has become disassociated from the
XML store.  This can happen if you get a reference to an object (perhaps by fetching the first
item in an array), delete the item from the tree (perhaps by calling the array remove method
on element 0), and then try to invoke methods on that reference or any of its child elements.
 You cannot even invoke the toString() method on an orphaned object!  If you need to keep
a deleted object, make a copy before you delete it. For example:

To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org

View raw message