tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Tanner <tan...@real-time.com>
Subject TagAttributeInfo implementation does not match 2.2 Specification
Date Wed, 10 May 2000 01:53:18 GMT
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 <tanner@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 


Mime
View raw message