[oXygen-user] Caching doc() calls

Robert Koberg
Thu Mar 27 12:12:39 CDT 2008


Sounds like oXygen is reusing the Transformer rather than creating one
for each transform from a Templates object.

best,
-Rob

On Thu, 2008-03-27 at 17:03 +0000, Andrew Welch wrote:
> It seems oXygen caches the XML from calls to doc() between runs?
> 
> If you run a transform with
> 
> doc('foo.xml')
> 
> and then delete foo.xml, you can still run the transform!  The doc()
> call works without causing an error...
> 
> It's just taken me a while to figure out why a transform run from
> inside oXygen produced different result from the same transform run
> outside of oXygen - it was because a referenced doc() had been updated
> while oXygen was open and oXygen wasn't fetching it each time.
> 
> Shouldn't oXygen's caching resolvers (if that's where the problem
> lies) only cache per transform run?
> 
> 




More information about the oXygen-user mailing list