[oXygen-user] Caching doc() calls

Adrian Buza
Fri Mar 28 10:49:40 CDT 2008


Hello,

What you're describing should only happen if you still have the 
file(foo.xml) open in an editor.
oXygen's catalog resolver will still resolve the system id of the file 
to the one opened in the editor
even if that file no longer exists on disk. Once the editor is closed 
the transformation will fail as
expected.

If this isn't the case then please give us more details so we can 
reproduce the problem.

Regards,
Adrian Buza
Oxygen XML Editor

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