DTD type constraint file
1. window->preferences->xml->xml catalog->user Specified Entries window, select the Add button
2. In the Add XML Catalog Entry dialog box, select or enter the following:
Location:f:/soft/programmingsoft/framework/ibatis/sql-map-config-2.dtd
Key Type:uri
Key:http://ibatis.apache.org/dtd/sql-map-config-2.dtd
XSD type constraint file
1. window->preferences->xml->xml catalog->user Specified Entries window, select the Add button
2. In the Add XML Catalog Entry dialog box, select or enter the following:
location:f:/soft/programmingsoft/framework/spring/spring-framework-2.5.6.sec01-with-dependencies/ Spring-framework-2.5.6.sec01/dist/resources/spring-beans-2.5.xsd
Key Type:schema Location
Key:http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
Import DTDs and XSD files in Eclipse, so that XML is automatically prompted (go)