On 03/09/2012 05:53 PM, Fabián Mandelbaum wrote:
> Steps to reproduce:
>
> 1) Deploy XXE as an applet (the full thing, the "xxe" applet)
> 2) Open a file located on a DAV server
> 3) Make a modification to the file
> 4) Save it
> 5) Close the file, without closing the XXE applet
> 6) Using XXE's File menu open the same file again (it appears on top
> of Recently Opened list)
> 7) Modifications are not shown, and they should be
>
> We've noticed that XXE issues a few OPTIONS and PROPFIND requests when
> opening the file the 2nd time, this looks like standard DAV client
> behaviour... however there is no GET request to retrieve the file's
> content (even if on step 4 XXE issued a PUT to store updated file
> content).
>
> So, we were wondering if XXE is using something (if so, what would
> that be?) from the PROPFIND response to decide whether to issue a GET
> to retrieve the file again, or to use the cached version.

XXE does not attempt to be that smart in its implementation of File|Open.



>
> BTW, with our DAV server, we tried XXE standalone (not the applet),
> disabled document caching, and observed the same behaviour described
> above.

XXE's document caching is not related to File|Open. XXE document caching 
is needed to implement XSLT document() function, the feature called 
"Document Set", etc.



>
> I hope to have been clear, feel free to ask for more information or
> clarifications if needs be.
>

We have managed to reproduce the behavior you describe. It is caused by 
Oracle/Sun implementation of an HTTP URL which by default caches 
previously loaded files.

We have partially implemented a fix for this bug. A more complete fix 
will be found in XXE v5.2, which should be released next week.

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to