]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/3dparty_src/struts/schema/struts-2.3.dtd
Salome HOME
84287d13d71824aeffddb8d1a4b44729ead20ec4
[tools/siman.git] / Workspace / 3dparty_src / struts / schema / struts-2.3.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.3//EN"
32         "http://struts.apache.org/dtds/struts-2.3.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     strict-method-invocation CDATA #IMPLIED
47     externalReferenceResolver NMTOKEN #IMPLIED
48 >
49
50 <!ELEMENT result-types (result-type+)>
51
52 <!ELEMENT result-type (param*)>
53 <!ATTLIST result-type
54     name CDATA #REQUIRED
55     class CDATA #REQUIRED
56     default (true|false) "false"
57 >
58
59 <!ELEMENT interceptors (interceptor|interceptor-stack)+>
60
61 <!ELEMENT interceptor (param*)>
62 <!ATTLIST interceptor
63     name CDATA #REQUIRED
64     class CDATA #REQUIRED
65 >
66
67 <!ELEMENT interceptor-stack (interceptor-ref*)>
68 <!ATTLIST interceptor-stack
69     name CDATA #REQUIRED
70 >
71
72 <!ELEMENT interceptor-ref (param*)>
73 <!ATTLIST interceptor-ref
74     name CDATA #REQUIRED
75 >
76
77 <!ELEMENT default-interceptor-ref (#PCDATA)>
78 <!ATTLIST default-interceptor-ref
79     name CDATA #REQUIRED
80 >
81
82 <!ELEMENT default-action-ref (#PCDATA)>
83 <!ATTLIST default-action-ref
84     name CDATA #REQUIRED
85 >
86
87 <!ELEMENT default-class-ref (#PCDATA)>
88 <!ATTLIST default-class-ref
89     class CDATA #REQUIRED
90 >
91
92 <!ELEMENT global-results (result+)>
93
94 <!ELEMENT global-exception-mappings (exception-mapping+)>
95
96 <!ELEMENT action ((param|result|interceptor-ref|exception-mapping)*,allowed-methods?)>
97 <!ATTLIST action
98     name CDATA #REQUIRED
99     class CDATA #IMPLIED
100     method CDATA #IMPLIED
101     converter CDATA #IMPLIED
102 >
103
104 <!ELEMENT param (#PCDATA)>
105 <!ATTLIST param
106     name CDATA #REQUIRED
107 >
108
109 <!ELEMENT result (#PCDATA|param)*>
110 <!ATTLIST result
111     name CDATA #IMPLIED
112     type CDATA #IMPLIED
113 >
114
115 <!ELEMENT exception-mapping (#PCDATA|param)*>
116 <!ATTLIST exception-mapping
117     name CDATA #IMPLIED
118     exception CDATA #REQUIRED
119     result CDATA #REQUIRED
120 >
121
122 <!ELEMENT allowed-methods (#PCDATA)>
123
124 <!ELEMENT include (#PCDATA)>
125 <!ATTLIST include
126     file CDATA #REQUIRED
127 >
128
129 <!ELEMENT bean (#PCDATA)>
130 <!ATTLIST bean
131     type CDATA #IMPLIED
132     name CDATA #IMPLIED
133     class CDATA #REQUIRED
134     scope CDATA #IMPLIED
135     static CDATA #IMPLIED
136     optional CDATA #IMPLIED
137 >
138
139 <!ELEMENT constant (#PCDATA)>
140 <!ATTLIST constant
141     name CDATA #REQUIRED
142     value CDATA #REQUIRED
143 >
144
145 <!ELEMENT unknown-handler-stack (unknown-handler-ref*)>
146 <!ELEMENT unknown-handler-ref (#PCDATA)>
147 <!ATTLIST unknown-handler-ref
148     name CDATA #REQUIRED
149 >
150
151 <!-- END SNIPPET: strutsDtd -->
152