From 30f46158e908a48c87b174689daaaf6de9ab4ff7 Mon Sep 17 00:00:00 2001 From: remm Date: Thu, 27 Apr 2006 13:33:39 +0000 Subject: [PATCH] - Remove JSP related resources. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@397540 13f79535-47bb-0310-9956-ffa450edef68 --- java/javax/servlet/resources/jsp_2_0.xsd | 322 ------ java/javax/servlet/resources/jspxml.dtd | 189 ---- java/javax/servlet/resources/jspxml.xsd | 513 ---------- .../servlet/resources/web-jsptaglibrary_2_0.xsd | 1025 -------------------- 4 files changed, 2049 deletions(-) delete mode 100644 java/javax/servlet/resources/jsp_2_0.xsd delete mode 100644 java/javax/servlet/resources/jspxml.dtd delete mode 100644 java/javax/servlet/resources/jspxml.xsd delete mode 100755 java/javax/servlet/resources/web-jsptaglibrary_2_0.xsd diff --git a/java/javax/servlet/resources/jsp_2_0.xsd b/java/javax/servlet/resources/jsp_2_0.xsd deleted file mode 100644 index 799bbaaa3..000000000 --- a/java/javax/servlet/resources/jsp_2_0.xsd +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - @(#)jsp_2_0.xsds 1.17 03/18/03 - - - - - - - Copyright 2002 Sun Microsystems, Inc., 901 San Antonio - Road, Palo Alto, California 94303, U.S.A. All rights - reserved. - - Sun Microsystems, Inc. has intellectual property rights - relating to technology described in this document. In - particular, and without limitation, these intellectual - property rights may include one or more of the U.S. patents - listed at http://www.sun.com/patents and one or more - additional patents or pending patent applications in the - U.S. and other countries. - - This document and the technology which it describes are - distributed under licenses restricting their use, copying, - distribution, and decompilation. No part of this document - may be reproduced in any form by any means without prior - written authorization of Sun and its licensors, if any. - - Third-party software, including font technology, is - copyrighted and licensed from Sun suppliers. - - Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE, - JavaServer Pages, Enterprise JavaBeans and the Java Coffee - Cup logo are trademarks or registered trademarks of Sun - Microsystems, Inc. in the U.S. and other countries. - - Federal Acquisitions: Commercial Software - Government Users - Subject to Standard License Terms and Conditions. - - - - - - - - This is the XML Schema for the JSP 2.0 deployment descriptor - types. The JSP 2.0 schema contains all the special - structures and datatypes that are necessary to use JSP files - from a web application. - - The contents of this schema is used by the web-app_2_4.xsd - file to define JSP specific content. - - - - - - - - The following conventions apply to all J2EE - deployment descriptor elements unless indicated otherwise. - - - In elements that specify a pathname to a file within the - same JAR file, relative filenames (i.e., those not - starting with "/") are considered relative to the root of - the JAR file's namespace. Absolute filenames (i.e., those - starting with "/") also specify names in the root of the - JAR file's namespace. In general, relative names are - preferred. The exception is .war files where absolute - names are preferred for consistency with the Servlet API. - - - - - - - - - - - - - - The jsp-configType is used to provide global configuration - information for the JSP files in a web application. It has - two subelements, taglib and jsp-property-group. - - - - - - - - - - - - - - - - - - The jsp-file element contains the full path to a JSP file - within the web application beginning with a `/'. - - - - - - - - - - - - - - - - The jsp-property-groupType is used to group a number of - files so they can be given global property information. - All files so described are deemed to be JSP files. The - following additional properties can be described: - - - Control whether EL is ignored - - Control whether scripting elements are invalid - - Indicate pageEncoding information. - - Indicate that a resource is a JSP document (XML) - - Prelude and Coda automatic includes. - - - - - - - - - - - - Can be used to easily set the isELIgnored - property of a group of JSP pages. By default, the - EL evaluation is enabled for Web Applications using - a Servlet 2.4 or greater web.xml, and disabled - otherwise. - - - - - - - - - The valid values of page-encoding are those of the - pageEncoding page directive. It is a - translation-time error to name different encodings - in the pageEncoding attribute of the page directive - of a JSP page and in a JSP configuration element - matching the page. It is also a translation-time - error to name different encodings in the prolog - or text declaration of a document in XML syntax and - in a JSP configuration element matching the document. - It is legal to name the same encoding through - mulitple mechanisms. - - - - - - - - - Can be used to easily disable scripting in a - group of JSP pages. By default, scripting is - enabled. - - - - - - - - - If true, denotes that the group of resources - that match the URL pattern are JSP documents, - and thus must be interpreted as XML documents. - If false, the resources are assumed to not - be JSP documents, unless there is another - property group that indicates otherwise. - - - - - - - - - The include-prelude element is a context-relative - path that must correspond to an element in the - Web Application. When the element is present, - the given path will be automatically included (as - in an include directive) at the beginning of each - JSP page in this jsp-property-group. - - - - - - - - - The include-coda element is a context-relative - path that must correspond to an element in the - Web Application. When the element is present, - the given path will be automatically included (as - in an include directive) at the end of each - JSP page in this jsp-property-group. - - - - - - - - - - - - - - - The taglibType defines the syntax for declaring in - the deployment descriptor that a tag library is - available to the application. This can be done - to override implicit map entries from TLD files and - from the container. - - - - - - - - - - A taglib-uri element describes a URI identifying a - tag library used in the web application. The body - of the taglib-uri element may be either an - absolute URI specification, or a relative URI. - There should be no entries in web.xml with the - same taglib-uri value. - - - - - - - - - - the taglib-location element contains the location - (as a resource relative to the root of the web - application) where to find the Tag Library - Description file for the tag library. - - - - - - - - - - - diff --git a/java/javax/servlet/resources/jspxml.dtd b/java/javax/servlet/resources/jspxml.dtd deleted file mode 100644 index dffe0466c..000000000 --- a/java/javax/servlet/resources/jspxml.dtd +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/javax/servlet/resources/jspxml.xsd b/java/javax/servlet/resources/jspxml.xsd deleted file mode 100644 index 886ee65e9..000000000 --- a/java/javax/servlet/resources/jspxml.xsd +++ /dev/null @@ -1,513 +0,0 @@ - - - - - - - - - - - - - - - - -]> - - - - - - - - - XML Schema for JSP 2.0. - - This schema is based upon the recent (May 5th, 2001) - W3C recommendation for XML Schema. - - A JSP translator should reject an XML-format file that is - not strictly valid according to this schema or does not observe - the constraints documented here. A translator is not required - to use this schema for validation or to use a validating parser. - - - - - - - - - - Body defines the "top-level" elements in root and beanInfo. - There are probably other elements that should use it. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A request-time expression value - - - - - - - - - - - Bool would be boolean except it does not accept 1 and 0. - - - - - - - - - - - - - - Identifier is an unqualified Java identifier. - - - - - - - - - - - TypeName is one or more Java identifiers separated by dots - with no whitespace. - - - - - - - - - - - ImportList is one or more typeNames separated by commas. - Whitespace is allowed before and after the comma. - - - - - - - - - - - SetProp is an Identifier or *. - - - - - - - - - - - RelativeURL is a uriReference with no colon character - before the first /, ? or #, if any (RFC2396). - - - - - - - - - - - - - - - Length is nn or nn%. - - - - - - - - - - - - Buffer Size with an explicit value - - - - - - - - - - - Buffer Size with a "none" value - - - - - - - - - - - Buffer size is xkb or none. - - - - - - - - - Content type and character encoding for this page. - - - - - - - - - - - Page Encoding for this page. - - - - - - - - - - - valid scope values - - - - - - - - - - - - - - valid values for a plugin type - - - - - - - - - - - - Buffer size is xkb. - - - - - - - - - - - - - - - - - The root element of all JSP documents is named root. - - Authors may, if they wish, include schema location information. - If specified, the information may appear as attributes of - the root element as follows: - - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/JSP/Page xsd-file-location" - - Documents should not specify the system identifier of a DTD - in a DOCTYPE declaration. - - - - - - - - - - - - - - - directive.page is the "page directive". - - - - - - - - - - - - - - - - - - - - - - - directive.include is the "include directive". - This element does not appear on XML views of JSP pages. - - - - - - - - - - - The representation of a scriplet. - - - - - - - - The reprsentation of a declaration. - - - - - - - - The representation of an expression. - - - - - - - - Verbatim template text. - - - - - - - - useBean instantiates or accesses a bean in the specified scope. - - Constraint: The allowed combinations of attributes are: - - class [type] | type [( class | beanName)] - - - - - - - - - - - - - - - - - - - - setProperty changes the value of an object property. - - Constraint: The object named by the name must have been - "introduced" to the JSP processor using either the - jsp:useBean action or a custom action with an associated - VariableInfo entry for this name. - - Exact valid combinations are not expressable in XML Schema. - They are: - - name="Identifier" property="*" - name="Identifier" property="Identfiier" param="string" - name="Identifier" property="Identifier" value="string" - - - - - - - - - - - - - - - getProperty obtains the value of an object property. - - Constraint: The object named by the name must have been - "introduced" to the JSP processor using either the - jsp:useBean action or a custom action with an associated - VariableInfo entry for this name. - - ???The spec is interpreted as restricting the values of - property to Identifier. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/javax/servlet/resources/web-jsptaglibrary_2_0.xsd b/java/javax/servlet/resources/web-jsptaglibrary_2_0.xsd deleted file mode 100755 index 8113b0906..000000000 --- a/java/javax/servlet/resources/web-jsptaglibrary_2_0.xsd +++ /dev/null @@ -1,1025 +0,0 @@ - - - - - - - %W% %G% - - - - - - - Copyright 2003 Sun Microsystems, Inc., 901 San Antonio - Road, Palo Alto, California 94303, U.S.A. All rights - reserved. - - Sun Microsystems, Inc. has intellectual property rights - relating to technology described in this document. In - particular, and without limitation, these intellectual - property rights may include one or more of the U.S. patents - listed at http://www.sun.com/patents and one or more - additional patents or pending patent applications in the - U.S. and other countries. - - This document and the technology which it describes are - distributed under licenses restricting their use, copying, - distribution, and decompilation. No part of this document - may be reproduced in any form by any means without prior - written authorization of Sun and its licensors, if any. - - Third-party software, including font technology, is - copyrighted and licensed from Sun suppliers. - - Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE, - JavaServer Pages, Enterprise JavaBeans and the Java Coffee - Cup logo are trademarks or registered trademarks of Sun - Microsystems, Inc. in the U.S. and other countries. - - Federal Acquisitions: Commercial Software - Government Users - Subject to Standard License Terms and Conditions. - - - - - - - - ... - - - The instance documents may indicate the published - version of the schema using xsi:schemaLocation attribute - for J2EE namespace with the following location: - - http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd - - ]]> - - - - - - - - - - - - - - The taglib tag is the document root. - The definition of taglib is provided - by the tldTaglibType. - - - - - - - - The taglib element contains, among other things, tag and - tag-file elements. - The name subelements of these elements must each be unique. - - - - - - - - - - - - The taglib element contains function elements. - The name subelements of these elements must each be unique. - - - - - - - - - - - - - - - - - Specifies the type of body that is valid for a tag. - This value is used by the JSP container to validate - that a tag invocation has the correct body syntax and - by page composition tools to assist the page author - in providing a valid tag body. - - There are currently four values specified: - - tagdependent The body of the tag is interpreted by the tag - implementation itself, and is most likely - in a different "language", e.g embedded SQL - statements. - - JSP The body of the tag contains nested JSP - syntax. - - empty The body must be empty - - scriptless The body accepts only template text, EL - Expressions, and JSP action elements. No - scripting elements are allowed. - - - - - - - - - - - - - - - - - - - - - The extensibleType is an abstract base type that is used to - define the type of extension-elements. Instance documents - must substitute a known type to define the extension by - using xsi:type attribute to define the actual type of - extension-elements. - - - - - - - - - - - - - The function element is used to provide information on each - function in the tag library that is to be exposed to the EL. - - The function element may have several subelements defining: - - description Optional tag-specific information - - display-name A short name that is intended to be - displayed by tools - - icon Optional icon element that can be used - by tools - - name A unique name for this function - - function-class Provides the name of the Java class that - implements the function - - function-signature Provides the signature, as in the Java - Language Specification, of the Java - method that is to be used to implement - the function. - - example Optional informal description of an - example of a use of this function - - function-extension Zero or more extensions that provide extra - information about this function, for tool - consumption - - - - - - - - - - - A unique name for this function. - - - - - - - - - Provides the fully-qualified class name of the Java - class containing the static method that implements - the function. - - - - - - - - - - Provides the signature, of the static Java method that is - to be used to implement the function. The syntax of the - function-signature element is as follows: - - FunctionSignature ::= ReturnType S MethodName S? - '(' S? Parameters? S? ')' - - ReturnType ::= Type - - MethodName ::= Identifier - - Parameters ::= Parameter - | ( Parameter S? ',' S? Parameters ) - - Parameter ::= Type - - Where: - - * Type is a basic type or a fully qualified - Java class name (including package name), - as per the 'Type' production in the Java - Language Specification, Second Edition, - Chapter 18. - - * Identifier is a Java identifier, as per - the 'Identifier' production in the Java - Language Specification, Second - Edition, Chapter 18. - - Example: - - java.lang.String nickName( java.lang.String, int ) - - - - - - - - - - The example element contains an informal description - of an example of the use of this function. - - - - - - - - - - Function extensions are for tool use only and must not affect - the behavior of a container. - - - - - - - - - - - - - - - Defines an action in this tag library that is implemented - as a .tag file. - - The tag-file element has two required subelements: - - description Optional tag-specific information - - display-name A short name that is intended to be - displayed by tools - - icon Optional icon element that can be used - by tools - - name The unique action name - - path Where to find the .tag file implementing this - action, relative to the root of the web - application or the root of the JAR file for a - tag library packaged in a JAR. This must - begin with /WEB-INF/tags if the .tag file - resides in the WAR, or /META-INF/tags if the - .tag file resides in a JAR. - - example Optional informal description of an - example of a use of this tag - - tag-extension Zero or more extensions that provide extra - information about this tag, for tool - consumption - - - - - - - - - - - - - The example element contains an informal description - of an example of the use of a tag. - - - - - - - - - - Tag extensions are for tool use only and must not affect - the behavior of a container. - - - - - - - - - - - - - - - The tag defines a unique tag in this tag library. It has one - attribute, id. - - The tag element may have several subelements defining: - - description Optional tag-specific information - - display-name A short name that is intended to be - displayed by tools - - icon Optional icon element that can be used - by tools - - name The unique action name - - tag-class The tag handler class implementing - javax.servlet.jsp.tagext.JspTag - - tei-class An optional subclass of - javax.servlet.jsp.tagext.TagExtraInfo - - body-content The body content type - - variable Optional scripting variable information - - attribute All attributes of this action that are - evaluated prior to invocation. - - dynamic-attributes Whether this tag supports additional - attributes with dynamic names. If - true, the tag-class must implement the - javax.servlet.jsp.tagext.DynamicAttributes - interface. Defaults to false. - - example Optional informal description of an - example of a use of this tag - - tag-extension Zero or more extensions that provide extra - information about this tag, for tool - consumption - - - - - - - - - - - - Defines the subclass of javax.serlvet.jsp.tagext.JspTag - that implements the request time semantics for - this tag. (required) - - - - - - - - - - Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo - for this tag. (optional) - - If this is not given, the class is not consulted at - translation time. - - - - - - - - - Specifies the format for the body of this tag. - The default in JSP 1.2 was "JSP" but because this - is an invalid setting for simple tag handlers, there - is no longer a default in JSP 2.0. A reasonable - default for simple tag handlers is "scriptless" if - the tag can have a body. - - - - - - - - - - - - The example element contains an informal description - of an example of the use of a tag. - - - - - - - - - - Tag extensions are for tool use only and must not affect - the behavior of a container. - - - - - - - - - - - - - - - The attribute element defines an attribute for the nesting - tag. The attributre element may have several subelements - defining: - - description a description of the attribute - - name the name of the attribute - - required whether the attribute is required or - optional - - rtexprvalue whether the attribute is a runtime attribute - - type the type of the attributes - - fragment whether this attribute is a fragment - - - - - - - - - - - Defines if the nesting attribute is required or - optional. - - If not present then the default is "false", i.e - the attribute is optional. - - - - - - - - - - - - Defines if the nesting attribute can have scriptlet - expressions as a value, i.e the value of the - attribute may be dynamically calculated at request - time, as opposed to a static value determined at - translation time. - - If not present then the default is "false", i.e the - attribute has a static value - - - - - - - - - - Defines the Java type of the attributes value. For - static values (those determined at translation time) - the type is always java.lang.String. - - - - - - - - - - "true" if this attribute is of type - javax.jsp.tagext.JspFragment, representing dynamic - content that can be re-evaluated as many times - as needed by the tag handler. If omitted or "false", - the default is still type="java.lang.String" - - - - - - - - - - - - - - - - - Defines the canonical name of a tag or attribute being - defined. - - The name must conform to the lexical rules for an NMTOKEN. - - - - - - - - - - - - - - - - The tld-extensionType is used to indicate - extensions to a specific TLD element. - - It is used by elements to designate an extension block - that is targeted to a specific extension designated by - a set of extension elements that are declared by a - namespace. The namespace identifies the extension to - the tool that processes the extension. - - The type of the extension-element is abstract. Therefore, - a concrete type must be specified by the TLD using - xsi:type attribute for each extension-element. - - - - - - - - - - - - - - - - - - - - The taglib tag is the document root, it defines: - - description a simple string describing the "use" of this - taglib, should be user discernable - - display-name the display-name element contains a - short name that is intended to be displayed - by tools - - icon optional icon that can be used by tools - - tlib-version the version of the tag library implementation - - short-name a simple default short name that could be - used by a JSP authoring tool to create - names with a mnemonic value; for example, - the it may be used as the prefered prefix - value in taglib directives - - uri a uri uniquely identifying this taglib - - validator optional TagLibraryValidator information - - listener optional event listener specification - - tag tags in this tag library - - tag-file tag files in this tag library - - function zero or more EL functions defined in this - tag library - - taglib-extension zero or more extensions that provide extra - information about this taglib, for tool - consumption - - - - - - - - - - Describes this version (number) of the taglibrary. - It is described as a dewey decimal. - - - - - - - - - - - Defines a simple default name that could be used by - a JSP authoring tool to create names with a - mnemonicvalue; for example, it may be used as the - preferred prefix value in taglib directives. Do - not use white space, and do not start with digits - or underscore. - - - - - - - - - - Defines a public URI that uniquely identifies this - version of the taglibrary. Leave it empty if it - does not apply. - - - - - - - - - - - - - - - - - Taglib extensions are for tool use only and must not affect - the behavior of a container. - - - - - - - - - - Describes the JSP version (number) this taglibrary - requires in order to function (dewey decimal) - - - - - - - - - - - - - - - A validator that can be used to validate - the conformance of a JSP page to using this tag library is - defined by a validatorType. - - - - - - - - - - - Defines the TagLibraryValidator class that can be used - to validate the conformance of a JSP page to using this - tag library. - - - - - - - - - The init-param element contains a name/value pair as an - initialization param. - - - - - - - - - - - - - - - - - This type defines scope of the scripting variable. See - TagExtraInfo for details. The allowed values are, - "NESTED", "AT_BEGIN" and "AT_END". - - - - - - - - - - - - - - - - - - - - The variableType provides information on the scripting - variables defined by using this tag. It is a (translation - time) error for a tag that has one or more variable - subelements to have a TagExtraInfo class that returns a - non-null value from a call to getVariableInfo(). - - The subelements of variableType are of the form: - - description Optional description of this - variable - - name-given The variable name as a constant - - name-from-attribute The name of an attribute whose - (translation time) value will - give the name of the - variable. One of name-given or - name-from-attribute is required. - - variable-class Name of the class of the variable. - java.lang.String is default. - - declare Whether the variable is declared - or not. True is the default. - - scope The scope of the scripting varaible - defined. NESTED is default. - - - - - - - - - - - - The name for the scripting variable. - - - - - - - - - - The name of an attribute whose - (translation-time) value will give the name of - the variable. - - - - - - - - - - The optional name of the class for the scripting - variable. The default is java.lang.String. - - - - - - - - - - - - Whether the scripting variable is to be defined - or not. See TagExtraInfo for details. This - element is optional and "true" is the default. - - - - - - - - - The element is optional and "NESTED" is the default. - - - - - - - - - - -- 2.11.0