Excellent, thanks for the tips and the bug fix.
On 6/2/10 2:52 PM, Michael Glavassevich wrote:
Hi Chad,
Chad La Joie wrote on 06/02/2010 01:59:11 PM:
> Thanks Michael,
>
> Somewhat related to this, I note that the feature 'defer-node-expansion'
> can not be set to false when the default d
Hi Chad,
Chad La Joie wrote on 06/02/2010 01:59:11 PM:
> Thanks Michael,
>
> Somewhat related to this, I note that the feature 'defer-node-expansion'
> can not be set to false when the default document factory is used[1].
That's the Xerces-J 1.x documentation. The behaviour of the feature in
Xe
Thanks Michael,
Somewhat related to this, I note that the feature 'defer-node-expansion'
can not be set to false when the default document factory is used[1]. I
understand why a person might want to defer node expansion but in all of
my cases, I have to traverse every node. I am wondering, d
Thanks Chad. The test was very helpful and seems to be passing now after
the fix I just committed. We have to force a full expansion of the node
being transferred while it still has a reference to its original document
and weren't doing that when both DOMs (source and target) were initially
built
Okay, bug with test case submitted:
https://issues.apache.org/jira/browse/XERCESJ-1450
On 5/31/10 6:24 PM, Michael Glavassevich wrote:
Hi Chad,
I believe you've found a bug. There have been problems in the past with
transferring deferred nodes from one document to another through
adoptNode().
Hey Michael,
Yeah, I'll try to cook up a test case in the next day or two and get a
bug in for it.
On 5/31/10 6:24 PM, Michael Glavassevich wrote:
Hi Chad,
I believe you've found a bug. There have been problems in the past with
transferring deferred nodes from one document to another through
Hi Chad,
I believe you've found a bug. There have been problems in the past with
transferring deferred nodes from one document to another through adoptNode
(). Perhaps we missed this scenario.
Can you create a new JIRA issue [1] and a test case which demonstrates the
problem?
Thanks.
[1] https:
Just a bit more data. If I create a completely new document and adopt
all the elements in to the new document all the elements are adopted
without a problem.
On 5/31/10 4:50 PM, Chad La Joie wrote:
I have some code that takes a number of relatively large (~10MB) XML
documents, extracts variou