You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Roth <ma...@sun.com> on 2003/03/24 23:36:59 UTC
[PATCH] jakarta-servletapi-5: JSP 2.0 API updates
Here are the latest round of JSP 2.0 API updates. Some changes will
need to be made to jakarta-commons-sandbox/el before applying this patch.
I also made a couple of changes to the JSP 2.0 examples in accordance
with these changes.
jsr152/src/share/dtd/jsp_2_0.xsd:
jsr154/src/share/dtd/jsp_2_0.xsd:
- Expanded on description for taglibType complex type.
jsr152/src/share/javax/servlet/jsp/tagext/SimpleTagSupport.java:
- Change getJspBody() to be protected
- Change getJspContext() to be protected
- Change the jspBody field to be private
- Change the jspContext field to be private.
jsr152/src/share/javax/servlet/jsp/el/ExpressionEvaluator.java:
- Changed so that Strings of the form "abc${1+1}def${1+1}ghi" cannot
be parsed or evaluated. Only one expression can be parsed
evaluated at a time, and no static text can appear.
jsr152/src/share/javax/servlet/jsp/JspWriter.java:
- Changed javadocs for print() methods to indicate that the
resulting text is written to the writer, and not converted to
the platform's default character encoding first, which would
make no sense.
jsr152/src/share/javax/servlet/jsp/tagext/TagInfo.java
- getTagName() - Clarified that name is always returned (cannot
be null)
jsr152/src/share/javax/servlet/jsp/tagext/Tag.java
- Accessibility fix. Added img alt tag.
jsr152/src/share/javax/servlet/jsp/tagext/BodyTag.java
- Accessibility fix. Added img alt tag.
jsr152/src/share/javax/servlet/jsp/tagext/IterationTag.java
- Accessibility fix. Added img alt tag.
jsr152/src/share/javax/servlet/jsp/tagext/VariableInfo.java
- Accessibility fix. Added img alt tag and table summary tag.
jsr152/src/share/javax/servlet/jsp/el/ExpressionEvaluator.java
- evaluate() - Removed defaultPrefix param and allow FunctionMapper
to mutate after call.
- parseExpression() - Removed defaultPrefix param and allow
FunctionMapper to mutate after call.
---
Mark Roth, Java Software
JSP 2.0 Co-Specification Lead
Sun Microsystems, Inc.