]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/3dparty_src/struts/schema/struts-2.1.7.dtd
Salome HOME
8c054b605a95f2fe9b5af427c02bb1c3070e2104
[tools/siman.git] / Workspace / 3dparty_src / struts / schema / struts-2.1.7.dtd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 /*
4  * $Id$
5  *
6  * Licensed to the Apache Software Foundation (ASF) under one
7  * or more contributor license agreements.  See the NOTICE file
8  * distributed with this work for additional information
9  * regarding copyright ownership.  The ASF licenses this file
10  * to you under the Apache License, Version 2.0 (the
11  * "License"); you may not use this file except in compliance
12  * with the License.  You may obtain a copy of the License at
13  *
14  *  http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing,
17  * software distributed under the License is distributed on an
18  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19  * KIND, either express or implied.  See the License for the
20  * specific language governing permissions and limitations
21  * under the License.
22  */
23 -->
24 <!-- START SNIPPET: strutsDtd -->
25
26 <!--
27    Struts configuration DTD.
28    Use the following DOCTYPE
29
30    <!DOCTYPE struts PUBLIC
31         "-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
32         "http://struts.apache.org/dtds/struts-2.1.7.dtd">
33 -->
34
35 <!ELEMENT struts ((package|include|bean|constant)*, unknown-handler-stack?)>
36 <!ATTLIST struts
37     order CDATA #IMPLIED
38 >
39
40 <!ELEMENT package (result-types?, interceptors?, default-interceptor-ref?, default-action-ref?, default-class-ref?, global-results?, global-exception-mappings?, action*)>
41 <!ATTLIST package
42     name CDATA #REQUIRED
43     extends CDATA #IMPLIED
44     namespace CDATA #IMPLIED
45     abstract CDATA #IMPLIED
46     externalReferenceResolver NMTOKEN #IMPLIED
47 >
48
49 <!ELEMENT result-types (result-type+)>
50
51 <!ELEMENT result-type (param*)>
52 <!ATTLIST result-type
53     name CDATA #REQUIRED
54     class CDATA #REQUIRED
55     default (true|false) "false"
56 >
57
58 <!ELEMENT interceptors (interceptor|interceptor-stack)+>
59
60 <!ELEMENT interceptor (param*)>
61 <!ATTLIST interceptor
62     name CDATA #REQUIRED
63     class CDATA #REQUIRED
64 >
65
66 <!ELEMENT interceptor-stack (interceptor-ref*)>
67 <!ATTLIST interceptor-stack
68     name CDATA #REQUIRED
69 >
70
71 <!ELEMENT interceptor-ref (param*)>
72 <!ATTLIST interceptor-ref
73     name CDATA #REQUIRED
74 >
75
76 <!ELEMENT default-interceptor-ref (#PCDATA)>
77 <!ATTLIST default-interceptor-ref
78     name CDATA #REQUIRED
79 >
80
81 <!ELEMENT default-action-ref (#PCDATA)>
82 <!ATTLIST default-action-ref
83     name CDATA #REQUIRED
84 >
85
86 <!ELEMENT default-class-ref (#PCDATA)>
87 <!ATTLIST default-class-ref
88     class CDATA #REQUIRED
89 >
90
91 <!ELEMENT global-results (result+)>
92
93 <!ELEMENT global-exception-mappings (exception-mapping+)>
94
95 <!ELEMENT action (param|result|interceptor-ref|exception-mapping)*>
96 <!ATTLIST action
97     name CDATA #REQUIRED
98     class CDATA #IMPLIED
99     method CDATA #IMPLIED
100     converter CDATA #IMPLIED
101 >
102
103 <!ELEMENT param (#PCDATA)>
104 <!ATTLIST param
105     name CDATA #REQUIRED
106 >
107
108 <!ELEMENT result (#PCDATA|param)*>
109 <!ATTLIST result
110     name CDATA #IMPLIED
111     type CDATA #IMPLIED
112 >
113
114 <!ELEMENT exception-mapping (#PCDATA|param)*>
115 <!ATTLIST exception-mapping
116     name CDATA #IMPLIED
117     exception CDATA #REQUIRED
118     result CDATA #REQUIRED
119 >
120
121 <!ELEMENT include (#PCDATA)>
122 <!ATTLIST include
123     file CDATA #REQUIRED
124 >
125
126 <!ELEMENT bean (#PCDATA)>
127 <!ATTLIST bean
128     type CDATA #IMPLIED
129     name CDATA #IMPLIED
130     class CDATA #REQUIRED
131     scope CDATA #IMPLIED
132     static CDATA #IMPLIED
133     optional CDATA #IMPLIED
134 >
135
136 <!ELEMENT constant (#PCDATA)>
137 <!ATTLIST constant
138     name CDATA #REQUIRED
139     value CDATA #REQUIRED
140 >
141
142 <!ELEMENT unknown-handler-stack (unknown-handler-ref*)>
143 <!ELEMENT unknown-handler-ref (#PCDATA)>
144 <!ATTLIST unknown-handler-ref
145     name CDATA #REQUIRED
146 >
147
148 <!-- END SNIPPET: strutsDtd -->
149