~ubuntu-branches/ubuntu/quantal/jetty/quantal

« back to all changes in this revision

Viewing changes to src/javax/servlet/jsp/resources/jsp_2_0.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Claude
  • Date: 2009-09-07 00:22:20 UTC
  • mfrom: (1.1.5 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090907002220-8w7luxa3m4otve4g
Tags: 6.1.20-2
* Move documentation to /usr/share/doc/libjetty-java
* Better postinst and postrm scripts, aligned with tomcat6 scripts:
   - postinst: user jetty is created with its own group
   - postrm: better cleanup of temporary data,
     thourough remove and purge of data
* debian/changelog:
  - fix suggest for package libjetty-java-doc, add libjetty-java-doc
    to the list of Suggests for libjetty-java
  - add libjetty-extra to the list of Suggests for package jetty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
 
            targetNamespace="http://java.sun.com/xml/ns/j2ee"
4
 
            xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
5
 
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
 
            elementFormDefault="qualified"
7
 
            attributeFormDefault="unqualified"
8
 
            version="2.0">
9
 
  <xsd:annotation>
10
 
    <xsd:documentation>
11
 
      @(#)jsp_2_0.xsds  1.17 03/18/03
12
 
    </xsd:documentation>
13
 
  </xsd:annotation>
14
 
 
15
 
  <xsd:annotation>
16
 
    <xsd:documentation>
17
 
 
18
 
      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
19
 
      Road, Palo Alto, California 94303, U.S.A. All rights
20
 
      reserved.
21
 
 
22
 
      Sun Microsystems, Inc. has intellectual property rights
23
 
      relating to technology described in this document. In
24
 
      particular, and without limitation, these intellectual
25
 
      property rights may include one or more of the U.S. patents
26
 
      listed at http://www.sun.com/patents and one or more
27
 
      additional patents or pending patent applications in the
28
 
      U.S. and other countries.
29
 
 
30
 
      This document and the technology which it describes are
31
 
      distributed under licenses restricting their use, copying,
32
 
      distribution, and decompilation. No part of this document
33
 
      may be reproduced in any form by any means without prior
34
 
      written authorization of Sun and its licensors, if any.
35
 
 
36
 
      Third-party software, including font technology, is
37
 
      copyrighted and licensed from Sun suppliers.
38
 
 
39
 
      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
40
 
      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
41
 
      Cup logo are trademarks or registered trademarks of Sun
42
 
      Microsystems, Inc. in the U.S. and other countries.
43
 
 
44
 
      Federal Acquisitions: Commercial Software - Government Users
45
 
      Subject to Standard License Terms and Conditions.
46
 
 
47
 
    </xsd:documentation>
48
 
  </xsd:annotation>
49
 
 
50
 
  <xsd:annotation>
51
 
    <xsd:documentation>
52
 
 
53
 
      This is the XML Schema for the JSP 2.0 deployment descriptor
54
 
      types.  The JSP 2.0 schema contains all the special
55
 
      structures and datatypes that are necessary to use JSP files
56
 
      from a web application.
57
 
 
58
 
      The contents of this schema is used by the web-app_2_4.xsd
59
 
      file to define JSP specific content.
60
 
 
61
 
    </xsd:documentation>
62
 
  </xsd:annotation>
63
 
 
64
 
  <xsd:annotation>
65
 
    <xsd:documentation>
66
 
 
67
 
      The following conventions apply to all J2EE
68
 
      deployment descriptor elements unless indicated otherwise.
69
 
 
70
 
      - In elements that specify a pathname to a file within the
71
 
        same JAR file, relative filenames (i.e., those not
72
 
        starting with "/") are considered relative to the root of
73
 
        the JAR file's namespace.  Absolute filenames (i.e., those
74
 
        starting with "/") also specify names in the root of the
75
 
        JAR file's namespace.  In general, relative names are
76
 
        preferred.  The exception is .war files where absolute
77
 
        names are preferred for consistency with the Servlet API.
78
 
 
79
 
    </xsd:documentation>
80
 
  </xsd:annotation>
81
 
 
82
 
  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
83
 
 
84
 
 
85
 
<!-- **************************************************** -->
86
 
 
87
 
  <xsd:complexType name="jsp-configType">
88
 
    <xsd:annotation>
89
 
      <xsd:documentation>
90
 
 
91
 
        The jsp-configType is used to provide global configuration
92
 
        information for the JSP files in a web application. It has
93
 
        two subelements, taglib and jsp-property-group.
94
 
 
95
 
      </xsd:documentation>
96
 
    </xsd:annotation>
97
 
 
98
 
    <xsd:sequence>
99
 
      <xsd:element name="taglib"
100
 
                   type="j2ee:taglibType"
101
 
                   minOccurs="0"
102
 
                   maxOccurs="unbounded"/>
103
 
      <xsd:element name="jsp-property-group"
104
 
                   type="j2ee:jsp-property-groupType"
105
 
                   minOccurs="0"
106
 
                   maxOccurs="unbounded"/>
107
 
    </xsd:sequence>
108
 
    <xsd:attribute name="id" type="xsd:ID"/>
109
 
  </xsd:complexType>
110
 
 
111
 
<!-- **************************************************** -->
112
 
 
113
 
  <xsd:complexType name="jsp-fileType">
114
 
    <xsd:annotation>
115
 
      <xsd:documentation>
116
 
 
117
 
        The jsp-file element contains the full path to a JSP file
118
 
        within the web application beginning with a `/'.
119
 
 
120
 
      </xsd:documentation>
121
 
    </xsd:annotation>
122
 
 
123
 
    <xsd:simpleContent>
124
 
      <xsd:restriction base="j2ee:pathType"/>
125
 
    </xsd:simpleContent>
126
 
  </xsd:complexType>
127
 
 
128
 
<!-- **************************************************** -->
129
 
 
130
 
  <xsd:complexType name="jsp-property-groupType">
131
 
    <xsd:annotation>
132
 
      <xsd:documentation>
133
 
 
134
 
        The jsp-property-groupType is used to group a number of
135
 
        files so they can be given global property information.
136
 
        All files so described are deemed to be JSP files.  The
137
 
        following additional properties can be described:
138
 
 
139
 
            - Control whether EL is ignored
140
 
            - Control whether scripting elements are invalid
141
 
            - Indicate pageEncoding information.
142
 
            - Indicate that a resource is a JSP document (XML)
143
 
            - Prelude and Coda automatic includes.
144
 
 
145
 
      </xsd:documentation>
146
 
    </xsd:annotation>
147
 
 
148
 
    <xsd:sequence>
149
 
      <xsd:group ref="j2ee:descriptionGroup"/>
150
 
      <xsd:element name="url-pattern"
151
 
                   type="j2ee:url-patternType"
152
 
                   maxOccurs="unbounded"/>
153
 
      <xsd:element name="el-ignored"
154
 
                   type="j2ee:true-falseType"
155
 
                   minOccurs="0">
156
 
        <xsd:annotation>
157
 
          <xsd:documentation>
158
 
 
159
 
            Can be used to easily set the isELIgnored
160
 
            property of a group of JSP pages.  By default, the
161
 
            EL evaluation is enabled for Web Applications using
162
 
            a Servlet 2.4 or greater web.xml, and disabled
163
 
            otherwise.
164
 
 
165
 
          </xsd:documentation>
166
 
        </xsd:annotation>
167
 
      </xsd:element>
168
 
      <xsd:element name="page-encoding"
169
 
                   type="j2ee:string"
170
 
                   minOccurs="0">
171
 
        <xsd:annotation>
172
 
          <xsd:documentation>
173
 
 
174
 
            The valid values of page-encoding are those of the
175
 
            pageEncoding page directive.  It is a
176
 
            translation-time error to name different encodings
177
 
            in the pageEncoding attribute of the page directive
178
 
            of a JSP page and in a JSP configuration element
179
 
            matching the page.  It is also a translation-time
180
 
            error to name different encodings in the prolog
181
 
            or text declaration of a document in XML syntax and
182
 
            in a JSP configuration element matching the document.
183
 
            It is legal to name the same encoding through
184
 
            mulitple mechanisms.
185
 
 
186
 
          </xsd:documentation>
187
 
        </xsd:annotation>
188
 
      </xsd:element>
189
 
      <xsd:element name="scripting-invalid"
190
 
                   type="j2ee:true-falseType"
191
 
                   minOccurs="0">
192
 
        <xsd:annotation>
193
 
          <xsd:documentation>
194
 
 
195
 
            Can be used to easily disable scripting in a
196
 
            group of JSP pages.  By default, scripting is
197
 
            enabled.
198
 
 
199
 
          </xsd:documentation>
200
 
        </xsd:annotation>
201
 
      </xsd:element>
202
 
      <xsd:element name="is-xml"
203
 
                   type="j2ee:true-falseType"
204
 
                   minOccurs="0">
205
 
        <xsd:annotation>
206
 
          <xsd:documentation>
207
 
 
208
 
            If true, denotes that the group of resources
209
 
            that match the URL pattern are JSP documents,
210
 
            and thus must be interpreted as XML documents.
211
 
            If false, the resources are assumed to not
212
 
            be JSP documents, unless there is another
213
 
            property group that indicates otherwise.
214
 
 
215
 
          </xsd:documentation>
216
 
        </xsd:annotation>
217
 
      </xsd:element>
218
 
      <xsd:element name="include-prelude"
219
 
                   type="j2ee:pathType"
220
 
                   minOccurs="0"
221
 
                   maxOccurs="unbounded">
222
 
        <xsd:annotation>
223
 
          <xsd:documentation>
224
 
 
225
 
            The include-prelude element is a context-relative
226
 
            path that must correspond to an element in the
227
 
            Web Application.  When the element is present,
228
 
            the given path will be automatically included (as
229
 
            in an include directive) at the beginning of each
230
 
            JSP page in this jsp-property-group.
231
 
 
232
 
          </xsd:documentation>
233
 
        </xsd:annotation>
234
 
      </xsd:element>
235
 
      <xsd:element name="include-coda"
236
 
                   type="j2ee:pathType"
237
 
                   minOccurs="0"
238
 
                   maxOccurs="unbounded">
239
 
        <xsd:annotation>
240
 
          <xsd:documentation>
241
 
 
242
 
            The include-coda element is a context-relative
243
 
            path that must correspond to an element in the
244
 
            Web Application.  When the element is present,
245
 
            the given path will be automatically included (as
246
 
            in an include directive) at the end of each
247
 
            JSP page in this jsp-property-group.
248
 
 
249
 
          </xsd:documentation>
250
 
        </xsd:annotation>
251
 
      </xsd:element>
252
 
    </xsd:sequence>
253
 
    <xsd:attribute name="id" type="xsd:ID"/>
254
 
  </xsd:complexType>
255
 
 
256
 
<!-- **************************************************** -->
257
 
 
258
 
  <xsd:complexType name="taglibType">
259
 
    <xsd:annotation>
260
 
      <xsd:documentation>
261
 
 
262
 
        The taglibType defines the syntax for declaring in
263
 
        the deployment descriptor that a tag library is
264
 
        available to the application.  This can be done
265
 
        to override implicit map entries from TLD files and
266
 
        from the container.
267
 
 
268
 
      </xsd:documentation>
269
 
    </xsd:annotation>
270
 
 
271
 
    <xsd:sequence>
272
 
      <xsd:element name="taglib-uri"
273
 
                   type="j2ee:string">
274
 
        <xsd:annotation>
275
 
          <xsd:documentation>
276
 
 
277
 
            A taglib-uri element describes a URI identifying a
278
 
            tag library used in the web application.  The body
279
 
            of the taglib-uri element may be either an
280
 
            absolute URI specification, or a relative URI.
281
 
            There should be no entries in web.xml with the
282
 
            same taglib-uri value.
283
 
 
284
 
          </xsd:documentation>
285
 
        </xsd:annotation>
286
 
      </xsd:element>
287
 
 
288
 
      <xsd:element name="taglib-location"
289
 
                   type="j2ee:pathType">
290
 
        <xsd:annotation>
291
 
          <xsd:documentation>
292
 
 
293
 
            the taglib-location element contains the location
294
 
            (as a resource relative to the root of the web
295
 
            application) where to find the Tag Library
296
 
            Description file for the tag library.
297
 
 
298
 
          </xsd:documentation>
299
 
        </xsd:annotation>
300
 
      </xsd:element>
301
 
 
302
 
    </xsd:sequence>
303
 
    <xsd:attribute name="id" type="xsd:ID"/>
304
 
  </xsd:complexType>
305
 
 
306
 
</xsd:schema>
307