Hey guys,
I'm seeing some behavior that might be a bug, or maybe it's supposed to work this way and I just don't get it. When the defer node expansion feature is turned on calls to Document.adoptNode(Node) fail with the exception listed below. It would appear that adoptNode is performing the node expansion that it needs in order to do the adoption. The behavior that I expected was that it would. Is this a bug, or is the software working as design, just not as I expected?


java.lang.ClassCastException: org.apache.xerces.dom.DocumentImpl
at org.apache.xerces.dom.DeferredAttrNSImpl.synchronizeChildren(Unknown Source)
        at org.apache.xerces.dom.AttrImpl.setOwnerDocument(Unknown Source)
at org.apache.xerces.dom.NamedNodeMapImpl.setOwnerDocument(Unknown Source) at org.apache.xerces.dom.ElementImpl.setOwnerDocument(Unknown Source)
        at org.apache.xerces.dom.CoreDocumentImpl.adoptNode(Unknown Source)
--
Chad La Joie             315Q St. Mary's Hall
OIS-Middleware           202.687.0124

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to