October 19, 2009

How to Enable Code Completion and Syntax Control Against XML Schema with Eclipse

When I was writing Apache Camel configuration XML files, I was frustrated over that I had no code completion or XML syntax check against Apache Camel Schema, but of source is that doable in Eclipse. Simple download the Schema to your computer and then open Eclipe:
Window->Preferences->XML->XML Catalog
Click on Add and File System and select the downloaded Schema.
Now you can right-click in your XML file and select Validate.

No comments: