tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21887] New: - Incorrect taglib.tld error message in catalina.log
Date Fri, 25 Jul 2003 15:07:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21887>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21887

Incorrect taglib.tld error message in catalina.log

           Summary: Incorrect taglib.tld error message in catalina.log
           Product: Tomcat 4
           Version: 4.1.24
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: natkinnat@mail.ru


I ported my web site from orion web server to tomcat.
I encountered a problem while trying to guess why my taglib.tld is parsed with 
errors. 
Due to orion pecularities I kept 2 different notations for some of the tags, 
whose names changed, e.g.
  <shortname> Name </shortname>
  <short-name> Name </short-name> 
  etc.
This caused an error while parsing, but the report in catalina logs looked like 
this:

org.apache.jasper.JasperException: XML parsing error on file /WEB-
INF/taglib.tld: (line 18, col 12): Element type "shortname" must be declared.

I recognize that this is a very minor problem, but if the report looked like 
this:

org.apache.jasper.JasperException: XML parsing error on file /WEB-
INF/taglib.tld: (line 18, col 12): Element type "short-name" must be declared.

it could have saved me from guessing which notation I should have used with 
tomcat.

Thanks. =)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message