Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 13767 invoked from network); 8 Nov 2002 21:22:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Nov 2002 21:22:44 -0000 Received: (qmail 29975 invoked by uid 97); 8 Nov 2002 21:23:02 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 29799 invoked by uid 97); 8 Nov 2002 21:23:00 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 29640 invoked by uid 98); 8 Nov 2002 21:22:59 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3DCC2AC8.10001@sun.com> Date: Fri, 08 Nov 2002 16:21:12 -0500 From: Mark Roth User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020729 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org CC: Kin-Man Chung Subject: [PATCH] jakarta-servletapi-5: API changes and clarifications Content-Type: multipart/mixed; boundary="------------040001050505030704000908" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------040001050505030704000908 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Here is another set of JSP 2.0 API changes and clarifications, based on feedback from various sources. Please let me know if there are any questions or concerns. jsr152/src/share/javax/servlet/jsp/JspContext.java - Clarified that removeAttribute( name ) removes from all scopes - Clarified that removeAttribute( name, scope ) does nothing if the object doesn't exist in that scope. - Clarified that setAttribute( name, null ) has the effect of removing that attribute from the page scope. - Clarified that setAttribute( name, null, scope ) has the effect of removing that attribute from the given scope. jsr152/src/share/javax/servlet/jsp/tagext/TagSupport.java - Clarified javadocs for getValues() that the keys are returned. - Updated release() method to clear id and values Hashtable jsr152/src/share/javax/servlet/jsp/tagext/PageData.java - Clarified the InputStream returned is in UTF-8 jsr152/src/share/dtd/jspxml.dtd jsr152/src/share/dtd/jspxml.xsd jsr154/src/share/dtd/jspxml.dtd jsr154/src/share/dtd/jspxml.xsd - Removed i18n-related comment about contentType default jsr152/src/share/dtd/jsp_2_0.xsd jsr154/src/share/dtd/jsp_2_0.xsd - Changed i18n-related description relating to encoding name conflicts jsr154/src/share/dtd/web-app_2_4.xsd jsr154/src/share/dtd/j2ee_1_4.xsd - Moved warType from j2ee_1_4.xsd to web-app_2_4.xsd -- Mark Roth, Java Software JSP 2.0 Co-Specification Lead Sun Microsystems, Inc. --------------040001050505030704000908 Content-Type: text/plain; name="jakarta-servletapi-5.patch5.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jakarta-servletapi-5.patch5.txt" Index: jsr152/src/share/dtd/jsp_2_0.xsd =================================================================== RCS file: /home/cvspublic/jakarta-servletapi-5/jsr152/src/share/dtd/jsp_2_0.xsd,v retrieving revision 1.4 diff -u -r1.4 jsp_2_0.xsd --- jsr152/src/share/dtd/jsp_2_0.xsd 9 Oct 2002 17:38:49 -0000 1.4 +++ jsr152/src/share/dtd/jsp_2_0.xsd 8 Nov 2002 21:16:38 -0000 @@ -8,7 +8,7 @@ version="2.0"> -%W% %G% +@(#)jsp_2_0.xsds 1.14 11/06/02 @@ -172,12 +172,15 @@ The valid values of page-encoding are those of the - pageEncoding page directive. It is a - translation-time error to define the pageEncoding - of a JSP page through one value in the JSP - configuration element and then give it a different - value in a pageEncoding directive, but it is legal - to give it the same value. + 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 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. Index: jsr152/src/share/dtd/jspxml.dtd =================================================================== RCS file: /home/cvspublic/jakarta-servletapi-5/jsr152/src/share/dtd/jspxml.dtd,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 jspxml.dtd --- jsr152/src/share/dtd/jspxml.dtd 13 Aug 2002 16:20:58 -0000 1.1.1.1 +++ jsr152/src/share/dtd/jspxml.dtd 8 Nov 2002 21:16:38 -0000 @@ -1,4 +1,4 @@ - @@ -77,12 +77,6 @@ > - -@(#)j2ee_1_4.xsds 1.32 02/10/04 +@(#)j2ee_1_4.xsds 1.34 02/11/05 @@ -1501,25 +1500,6 @@ - - - - - - - - - -The elements that use this type designate a path starting -with a "/" and interpreted relative to the root of a WAR -file. - - - - - - - Index: jsr154/src/share/dtd/jsp_2_0.xsd =================================================================== RCS file: /home/cvspublic/jakarta-servletapi-5/jsr154/src/share/dtd/jsp_2_0.xsd,v retrieving revision 1.4 diff -u -r1.4 jsp_2_0.xsd --- jsr154/src/share/dtd/jsp_2_0.xsd 9 Oct 2002 17:38:49 -0000 1.4 +++ jsr154/src/share/dtd/jsp_2_0.xsd 8 Nov 2002 21:17:01 -0000 @@ -8,7 +8,7 @@ version="2.0"> -%W% %G% +@(#)jsp_2_0.xsds 1.14 11/06/02 @@ -172,12 +172,15 @@ The valid values of page-encoding are those of the - pageEncoding page directive. It is a - translation-time error to define the pageEncoding - of a JSP page through one value in the JSP - configuration element and then give it a different - value in a pageEncoding directive, but it is legal - to give it the same value. + 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 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. Index: jsr154/src/share/dtd/jspxml.dtd =================================================================== RCS file: /home/cvspublic/jakarta-servletapi-5/jsr154/src/share/dtd/jspxml.dtd,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 jspxml.dtd --- jsr154/src/share/dtd/jspxml.dtd 13 Aug 2002 16:21:47 -0000 1.1.1.1 +++ jsr154/src/share/dtd/jspxml.dtd 8 Nov 2002 21:17:01 -0000 @@ -1,4 +1,4 @@ - @@ -77,12 +77,6 @@ > - + + + + + +The elements that use this type designate a path starting +with a "/" and interpreted relative to the root of a WAR +file. + + + + + + + + Index: jsr154/src/share/dtd/web-jsptaglibrary_2_0.xsd =================================================================== RCS file: /home/cvspublic/jakarta-servletapi-5/jsr154/src/share/dtd/web-jsptaglibrary_2_0.xsd,v retrieving revision 1.5 diff -u -r1.5 web-jsptaglibrary_2_0.xsd --- jsr154/src/share/dtd/web-jsptaglibrary_2_0.xsd 4 Nov 2002 17:44:25 -0000 1.5 +++ jsr154/src/share/dtd/web-jsptaglibrary_2_0.xsd 8 Nov 2002 21:17:09 -0000 @@ -10,7 +10,7 @@ -@(#)web-jsptaglibrary_2_0.xsds 1.21 10/15/02 +@(#)web-jsptaglibrary_2_0.xsds 1.24 11/01/02 @@ -842,10 +842,6 @@ scope The scope of the scripting varaible defined. NESTED is default. -fragment The fragment to which the variable - is scoped. (incompatible with scope - attribute) - @@ -892,51 +888,31 @@ - - - - - - - - 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. + Whether the scripting variable is to be defined + or not. See TagExtraInfo for details. This + element is optional and "true" is the default. - - - - - - - + + + + + + - Must match the value of a name attribute in an - attribute element whose fragment attribute is - set to "true". If so specified, this variable's - scope is restricted to that fragment invocation. - If not specified, the default is declare="true" - and scope="NESTED" + The element is optional and "NESTED" is the default. - - - - + + + --------------040001050505030704000908 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --------------040001050505030704000908--