cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Stimmel <jon-li...@stimmel.net>
Subject Re: DOM005 Wrong document error
Date Mon, 10 Jul 2000 18:50:03 GMT
On Mon, Jul 10, 2000 at 08:26:55PM +0200, Mark Washeim wrote:

> The objects in the hash have an member field which is a Node object. That
> node was created by reading a file from disk and then, XSPUtil wise, cloning
> it . . .
> 
> When I try to use these (that is, during successive requests, call a getNode
> method on the cached object), I get a Wrong Document error...

The nodes stored in your cache do not belong to the DOM tree being
built by successive requests (those that are hitting your internal
cache). You need to use XSPUtil to clone the DOM tree when you
pull the nodes out of the cache, not when you put them in.

Mime
View raw message