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.
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.xsd9 Oct 2002 17:38:49 - 1.4
+++ jsr152/src/share/dtd/jsp_2_0.xsd8 Nov 2002 21:16:38 -
-8,7 +8,7
version=2.0
xsd:annotation
xsd:documentation
-%W% %G%
+(#)jsp_2_0.xsds 1.14 11/06/02
/xsd:documentation
/xsd:annotation
-172,12 +172,15
xsd:documentation
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.
/xsd:documentation
/xsd:annotation
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 - 1.1.1.1
+++ jsr152/src/share/dtd/jspxml.dtd 8 Nov 2002 21:16:38 -
-1,4 +1,4
-!-- DTD for JSP 1.2
+!-- DTD for JSP 2.0
thanks to Bob Foster, WebGain
--
-77,12 +77,6
!ELEMENT jsp:directive.page EMPTY
-!--
-The contentType default is not relevant for XML views of
-JSP pages since it differs depending on the originating
-syntax (text/html;ISO-8859-1 for JSP Pages in standard syntax, or
-text/xml;UTF-8 for JSP Documents in XML syntax.
---
!ATTLIST jsp:directive.page
languageCDATA java
extends %ClassName; #IMPLIED
-96,8 +90,7
errorPage %URL; #IMPLIED
isErrorPage %Bool; false
pageEncodingCDATA #IMPLIED
-isScriptingEnabled %Bool; true
-isELEnabled %Bool; #IMPLIED
+isELIgnored %Bool; #IMPLIED
!-- the jsp:directive.include only appears in JSP documents and does
Index: jsr152/src/share/dtd/jspxml.xsd
===
RCS file: /home/cvspublic/jakarta-servletapi-5/jsr152/src/share/dtd/jspxml.xsd,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 jspxml.xsd
--- jsr152/src/share/dtd/jspxml.xsd 13 Aug 2002 16:20:58 - 1.1.1.1
+++ jsr152/src/share/dtd/jspxml.xsd 8 Nov 2002 21:16:57 -
-29,7 +29,7
xsd:annotation
xsd:documentation
- XML Schema for JSP 1.2.
+ XML Schema for JSP 2.0.
This schema is based upon the recent (May 5th, 2001)
W3C recommendation for XML Schema.
-210,7 +210,7
xsd:simpleType name = ContentType
xsd:annotation
xsd:documentation
-Contetn Type for this