Import the DTD and XSD files in eclipse to make the XML prompt automatically

Source: Internet
Author: User

DTD type constraint file
1. window-> preferences-> XML catalog-> user specified entries window, select 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 catalog-> user specified entries window, select Add button
2. in the Add XML catalog entry dialog box, select or enter the following content:
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.