Bug 165659 - [content model] Reload dependencies does not work
Summary: [content model] Reload dependencies does not work
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: wst.xml-triaged CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on: 304435
Blocks:
  Show dependency tree
 
Reported: 2006-11-23 08:49 EST by Jochen Henneberg CLA
Modified: 2013-06-19 11:14 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Henneberg CLA 2006-11-23 08:49:08 EST
"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.
Comment 1 Nitin Dahyabhai CLA 2006-11-30 14:30:04 EST
Craig, could you look into this?
Comment 2 Jochen Henneberg CLA 2006-12-05 03:17:29 EST
(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!
Comment 3 Nitin Dahyabhai CLA 2007-09-05 05:11:26 EDT
Craig, is the Cache resolver extension somehow involved in this?
Comment 4 Valentin Baciu CLA 2007-11-08 15:04:18 EST
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.
Comment 5 Jochen Henneberg CLA 2007-11-20 07:56:49 EST
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?!
Comment 6 Valentin Baciu CLA 2007-11-20 08:00:08 EST
Lawrence, can you please offer some insight into the workings of the Internet cache and how it ties in with reloading dependencies? Thanks.
Comment 7 Lawrence Mandel CLA 2007-11-21 10:22:19 EST
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.
Comment 8 Valentin Baciu CLA 2007-12-03 15:42:24 EST
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.
Comment 9 Ian Tewksbury CLA 2010-03-02 16:38:32 EST
This is still an issue in WTP 3.2
Comment 10 Nitin Dahyabhai CLA 2010-03-02 18:28:16 EST
Opened bug 304435.