You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bob Tanner <ta...@real-time.com> on 2000/05/10 03:53:18 UTC

TagAttributeInfo implementation does not match 2.2 Specification

I just grabbed the latest version of Tomcat from cvs and it failes to build.

 ./build.sh 
Buildfile: build.xml
Project base dir set to: /home/tanner/projects/jakarta-tomcat
Executing Target: init
Executing Target: prepare
Executing Target: tomcat
Compiling 1 source files to /home/tanner/projects/build/tomcat/classes
/home/tanner/projects/jakarta-tomcat/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java:503:
Incompatible type for constructor. Can't convert java.lang.String to boolean.
        return new TagAttributeInfo(name, required, type, rtexprvalue);
                                                    ^
/home/tanner/projects/jakarta-tomcat/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java:503:
Incompatible type for constructor. Can't convert boolean to java.lang.String.
        return new TagAttributeInfo(name, required, type, rtexprvalue);

Looking at the Servlet 2.2 API at Sun, TagAttributeInfo is defined as:

TagAttributeInfo(java.lang.String name, boolean required, boolean rtexprvalue,
java.lang.String type) 

Type is defined as a string. What is weird is that appropriate call to
TagAttributeInfo is commented out right above.

        //     return new TagAttributeInfo(name, required, rtexprvalue, type);


-- 
Bob Tanner <ta...@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9