|xml validation does not use latest xsd [message #640745]
||Tue, 23 November 2010 00:17
Registered: November 2010
I have Eclipse IDE for Java EE Developers, 204 MB (Mac OSX 32 bit), which I downloaded 2 days ago.|
Version: Helios Service Release 1, Build id: 20100917-0705
I created a Dynamic Web Project, and copied a leads.xml file into the WebContent folder. The xml file references an external xsd file like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
I was then able to validate the leads.xml file in eclipse, and it correctly used the external leads.xsd and found a few errors.
The problem is that whenever I change the leads.xsd on the server, I cannot get eclipse to read in that new version, instead eclipse continues to validate the leads.xml file against an earlier version which apparently eclipse has cached.
I have added a -clean (on a separate line) at the end of my eclipse.ini file. I have tried refreshing eclipse, I have tried closing eclipse, and then restarting. Nothing has worked. Finally I removed eclipse from my system, reinstalled, and that worked.
How can I get eclipse to read in the new version of an external xsd file that has changed on the server? Or how can I get eclipse to clear its cache(s)?
Powered by FUDForum
. Page generated in 0.02166 seconds