tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Roth <mark.r...@sun.com>
Subject [PATCH] jakarta-tomcat-jasper: PFD features and bugfixes 5
Date Sat, 24 Aug 2002 05:42:09 GMT
Attached is a fifth and final (from me) patch to move us towards JSP 2.0
PFD feature-complete.  Back to the spec for me :)

Files Changed (IN PATCH)
-------------
jasper2/src/share/org/apache/jasper/compiler/Generator.java
jasper2/src/share/org/apache/jasper/compiler/JspConfig.java
jasper2/src/share/org/apache/jasper/compiler/JspDocumentParser.java
jasper2/src/share/org/apache/jasper/compiler/JspReader.java
jasper2/src/share/org/apache/jasper/compiler/Node.java
jasper2/src/share/org/apache/jasper/compiler/Parser.java
jasper2/src/share/org/apache/jasper/compiler/TagFileProcessor.java
jasper2/src/share/org/apache/jasper/compiler/Validator.java
jasper2/src/share/org/apache/jasper/resources/messages.properties


Summary of changes:
    - Updated taglib namespace support in XML parser to support xmlns:
      attributes on any node.  Redefinitions are still disallowed, and
      scoping is not implemented.  The spec needs some clarification 
      in this space before we do more, but this will give users an
      opportunity to experiment and provide feedback.
    - Now fully supports multiple <url-pattern> elements 
      per <jsp-property-group>.
    - Implemented the following attributes for the tag directive (they
      were parsed but effectively NOPs before):
        - language
        - isScriptingEnabled
        - isELEnabled
        - pageEncoding
        - import
    - Implemented support for XML elements in standard syntax, as per
      the PFD specification.  The following elements can now be used
      in standard syntax JSP pages:
        - jsp:scriptlet
        - jsp:expression
        - jsp:declaration
	- jsp:text
        - jsp:directive.page
        - jsp:directive.include

      and in tag files...
        - jsp:scriptlet
        - jsp:expression
        - jsp:declaration
	- jsp:text
        - jsp:directive.include
        - jsp:directive.tag
        - jsp:directive.variable
        - jsp:directive.attribute
    - Fixed NPE in tag file generation: When no value was passed for
      an attribute, a NPE was being thrown.  Now checks if attribute is
      null before assigning a page-scoped variable.


As usual, please let me know if there are any questions or concerns.

--
Mark Roth, Java Software
JSP 2.0 Specification Co-Lead
Sun Microsystems, Inc.


Mime
View raw message