Eclipse Validation Problem
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Tue Nov 28, 2006 2:57 pm
- Location: London, UK
- Contact:
Eclipse Validation Problem
Hi all,
I had a problem in eclipse. I clicked the validate menu item. My XML validated as expected, but my JSP and HTML code didn't. Now, as this is legacy code I don't care that there are errors in it. I'm gradually replacing it. But there was no way to remove or 'unvalidate' the jsp and html files.
So I eventually found out that you can delete the .markers file, see http://www.myeclipseide.com/PNphpBB2+fi ... -3298.html, and all the error markers (red crosses) have gone!
Then, set your validation options in the preferences to not validate whatever is causing you problems, in my case jsps and html.
Just thought I'd let you know as it really annoyed me for a couple of days but there's no where else that tells you how to get rid of the problem.
Paul.
I had a problem in eclipse. I clicked the validate menu item. My XML validated as expected, but my JSP and HTML code didn't. Now, as this is legacy code I don't care that there are errors in it. I'm gradually replacing it. But there was no way to remove or 'unvalidate' the jsp and html files.
So I eventually found out that you can delete the .markers file, see http://www.myeclipseide.com/PNphpBB2+fi ... -3298.html, and all the error markers (red crosses) have gone!
Then, set your validation options in the preferences to not validate whatever is causing you problems, in my case jsps and html.
Just thought I'd let you know as it really annoyed me for a couple of days but there's no where else that tells you how to get rid of the problem.
Paul.
Web / Software Design & Development @ http://www.keteracel.com
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Eclipse Validation Problem
Post by sorin_ristache »
Hello,
If you validate only one file you can remove the error markers with the Clear Validation Markers available on the toolbar. When closing Eclipse all the error markers placed by the oXygen plugin are removed automatically if you enable the option Clear validation markers on close in Window -> Preferences -> oXygen -> Editor -> Document Checking.
Regards,
Sorin
Thank you for telling us but Eclipse 3.2 does not have such a .markers file. I think it is present only in MyEclipse. Also it is not possible to disable the validation of some file types in the oXygen plugin. If you batch validate all the content of a folder using one of the actions of the Batch Validation submenu added by the oXygen plugin on the popup menu available in the Navigator view and in the Project Explorer view then the validation action is applied to all the files of that folder. If you want to skip validation for some files you should apply the batch validation action only on the folders or subfolders containing the files for which you want validation errors.keteracel wrote:Just thought I'd let you know as it really annoyed me for a couple of days but there's no where else that tells you how to get rid of the problem.
If you validate only one file you can remove the error markers with the Clear Validation Markers available on the toolbar. When closing Eclipse all the error markers placed by the oXygen plugin are removed automatically if you enable the option Clear validation markers on close in Window -> Preferences -> oXygen -> Editor -> Document Checking.
Regards,
Sorin
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