-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.dtd
41 lines (33 loc) · 1.25 KB
/
config.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8" ?>
<!ELEMENT configuration (environments? mappers? settings?)>
<!ELEMENT environments (environment*)>
<!ATTLIST environments
default CDATA #REQUIRED>
<!ELEMENT environment (dataSource, driver, maxIdleConnNum?, maxOpenConnNum?, maxConnLifetime?, maxIdleConnLifetime?)>
<!ATTLIST environment
id CDATA #REQUIRED
provider CDATA #IMPLIED
>
<!ELEMENT dataSource (#PCDATA)>
<!ELEMENT driver (#PCDATA)>
<!ELEMENT maxIdleConnNum (#PCDATA)>
<!ELEMENT maxOpenConnNum (#PCDATA)>
<!ELEMENT maxConnLifetime (#PCDATA)>
<!ELEMENT maxIdleConnLifetime (#PCDATA)>
<!ELEMENT settings (setting+)>
<!ELEMENT setting EMPTY>
<!ATTLIST setting
name CDATA #REQUIRED
value CDATA #REQUIRED
>
<!ELEMENT mappers (mapper*)>
<!ATTLIST mappers
prefix CDATA #IMPLIED
pattern CDATA #IMPLIED
>
<!ELEMENT mapper EMPTY>
<!ATTLIST mapper
resource CDATA #IMPLIED
url CDATA #IMPLIED
namespace CDATA #IMPLIED
>