Community
Participate
Working Groups
"XML" => "Reload dependencies" on an XML document which is managed with subversive does not validate on the latest schema mention in a noNamespaceSchemaLocation attribute. The schema is not reloaded on command. Reload happens occasionally. I do not know if this happens only with subversive managed documents.
Craig, could you look into this?
(In reply to comment #1) > Craig, could you look into this? > This happens also when no subversive managed files are used. Eclipse does not even contact the servers where the schemas are when I select reload dependencies. Also, close and open of the XML file does not help and the error list in the Problems window is not updated!
Craig, is the Cache resolver extension somehow involved in this?
Jochen, is this still an issue? If so, can you please go to Preferences/Internet/Cache and try clearing the cache if the schema you depend on is in the cache. Then try reloading the dependencies.
I disabled the internet cache and this solves the problem. However, I would expect a cache to check if it is up-to-date if I request a reload of the schema files?!
Lawrence, can you please offer some insight into the workings of the Internet cache and how it ties in with reloading dependencies? Thanks.
The cache does not tie in with the reloading dependencies option. The cache is pretty dumb. If it gets a request for a URI that begins with HTTP or FTP it attempts to retrieve it remotely and store a local version. It will also attempt at a defined interval (I don't remember what this was set to) to try and refresh locally stored resources.
Jochen, given that reloading dependencies works if you disable the cache, I would think we could lower the priority to normal. Do you agree? If yes, please do so.
This is still an issue in WTP 3.2
Opened bug 304435.