Eclipse introduced the custom XML constraints files (DTD, SCHEMA) problem

Eclipse introduced the custom XML constraints files (DTD, SCHEMA) problem

1: Description

Use Eclipse to write constraints file xml file, including time constraints file DTD, Schema constraint files, we also need to accept tips eclipse, but the problem is not

2: General Solution

Eclispe > windows >perfecmerce>

  • Workspace: the introduction of the current constraints file workspace
  • File System: the introduction of constraint file on disk (or more according to need to choose, there is no need to have some say on the local disk)

 

 Key Tyoe: If it is a local DTD is SYSTEM defined DTD, this time to choose

 

 

 Like schema constraint files, it is recommended to choose according to your targetNameSpace

If the introduction of external constraints HIbernate, mybatis, then select these URI (of course, this is not necessary, you may experience learning)

3: Actual

eclipse is such a focal person, but can not actually be used

 

 

 

 

Guess you like

Origin www.cnblogs.com/dgwblog/p/11841118.html