You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/21 22:30:11 UTC
DO NOT REPLY [Bug 18236] New: -
An xmlns declaration that doesn't denote a tag library causes translation error
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=18236>.
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=18236
An xmlns declaration that doesn't denote a tag library causes translation error
Summary: An xmlns declaration that doesn't denote a tag library
causes translation error
Product: Tomcat 5
Version: 5.0.1
Platform: All
OS/Version: All
Status: NEW
Severity: Critical
Priority: Other
Component: Jasper2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: hans@gefionsoftware.com
In a JSP Document, xmlns declarations are used to declare tag libraries, but
xmlns declarations for regular XML namespaces are also allowed. With TC 5.0.1,
however, such a declaration cause a translation error with this root cause message:
org.apache.jasper.JasperException: The absolute uri:
http://www.w3c.org/1999/xhtml cannot be resolved in either web.xml or the jar
files deployed with this application
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
This is the result when accessing a JSP Document such as the one used as an
example in JSP 2.0 PDF2, section JSP.6.4.4, with a root element like this:
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:u="urn:jsptagdir:/WEB-INF/tags/mylib/">
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org