Eclipse XSD Import Cache
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 7
- Joined: Wed Mar 23, 2005 8:50 pm
Eclipse XSD Import Cache
Does the Eclipse plugin cache imported xsd schemas? And, if so, how do I clear them.
Running Eclipse 3.0.1 under Windows XP with the 5.1.0 plugin.
1. Open an xsd schema file which contains several xs:import elements.
2. Press Validate Document
3. The imported schema files contain errors which are reported.
4. It turns out that the schema files did not have to be imported so delete the import elements and SAVE the original xsd file.
5. Press Validate Document again.
6. The errors from the imported schemas still show up.
I hunted around and could not find any sort of flush command or option. I need to close Eclipse then reopen to make the errors go away. Any alternative would be appreciated.
Running Eclipse 3.0.1 under Windows XP with the 5.1.0 plugin.
1. Open an xsd schema file which contains several xs:import elements.
2. Press Validate Document
3. The imported schema files contain errors which are reported.
4. It turns out that the schema files did not have to be imported so delete the import elements and SAVE the original xsd file.
5. Press Validate Document again.
6. The errors from the imported schemas still show up.
I hunted around and could not find any sort of flush command or option. I need to close Eclipse then reopen to make the errors go away. Any alternative would be appreciated.
-
- Posts: 7
- Joined: Wed Mar 23, 2005 8:50 pm
But that probably means opening up each import file. Which is ok but in this scenerio the files were never opened. It's just that the validator insists on rechecking them even after the import statements are removed from the original file.
I sort of think that once the import statements are deleted then the validator should not long try to use them.
I sort of think that once the import statements are deleted then the validator should not long try to use them.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
The validator does not recheck those files, but once the error markers are set they can be removed either on request using the clear error markers or if the problems are corrected and a validate action performs with success. You can see this similar with how a Java project works. If you have a class that uses some other class Eclipse will show the errors in the imported class as well and those errors will stay in the Problems View as long as they are present there.
Best Regards,
George
The validator does not recheck those files, but once the error markers are set they can be removed either on request using the clear error markers or if the problems are corrected and a validate action performs with success. You can see this similar with how a Java project works. If you have a class that uses some other class Eclipse will show the errors in the imported class as well and those errors will stay in the Problems View as long as they are present there.
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service