Eclipse validating xml editor
How can I get Eclipse Indigo to validate xml against xsd's that exist in my classpath jars?
You can also manage (import and export) multiple catalogs in Eclipse.Anyway, if everything is fine, during saving it should validate XML.Validation usually come together with code completion of elements and attributes. UPDATE: Picture to make validate action more clear: I found out why the validate option doesn't show up.Instead, the context menu of the project lists every validation under "validation", as described in the answer of kevinarpe.Preferences and select Validation in the left pane.Consider the following sample DTD: However, this is not the best approach, ideally you should use the right system ID (or not to use it at all).
At the end, this ID may be used by your application that handles these XML files.
My Eclipse validates XML files every time I save a file and it takes a while to validate them. The XML files are not under any Source folder build path in Eclipse, they are auto generated by Smart GWT under src/main/webapp/[Gwt Module]/sc Also all these XML files are marked with the error "Content is not allowed in prolog" and every time I run the project I have to confirm that I want to run the project with errors though there are none (and everything works fine).
I tried Suspending all Validators under Eclipse -The menu structure seems to have changed in newer versions of Eclipse - at least my Eclipse Mars installation doesn't have an "XML Schema Validator" entry.
Then validate as well as many other options should appear in contex menu.
The XML schema support in the XML schema editor is based on the W3C XML Schema Recommendation Specification.
I've been using o Xygen for about six years now so I guess I'm a satisfied user.