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 2006/05/11 13:42:56 UTC
DO NOT REPLY [Bug 39557] New: - Include of JSP documents with custom tag libs
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39557
Summary: Include of JSP documents with custom tag libs
Product: Tomcat 5
Version: Unknown
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: solaris42@abv.bg
Hi,
We have two JSP documents a.jsp and b.jsp. Suppose that some custom library is
defined correctly under the prefix "x". There is a tag library validator
associated with the TLD. The same bug is observed in Tomcat 5 while it is
working on Tomcat 4.
---- a.jsp -----
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:x="http://some/tld" >
<jsp:directive.include file="b.jsp"/>
</jsp:root>
---- b.jsp ----
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" >
<x:doAction/>
</jsp:root>
When I try to request a.jsp i receive this exception:
org.apache.jasper.JasperException: b.jsp(%row%,%column%) The prefix "x" for
element "x:doAction" is not bound.
But when I add the namespace to the jsp:root of the b.jsp the validator of the
taglibrary complains with:
Validation error messages from TagLibraryValidator for trx
null: org.xml.sax.SAXParseException: Attribute "x" bound to namespace
"http://www.w3.org/2000/xmlns/" was already specified for element "jsp:root".
This is against JSP 2.0, 2.1 specification: JSP.10.3.5 Collective Application of
Inclusion Semantics. This makes inclusion of JSP documents with custom tag
libraries that validate the XML view impossible.
Best regards,
Todor Mollov
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39557] - Include of JSP documents with custom tag libs
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39557
------- Additional Comments From chris@sourcelabs.com 2006-12-28 09:41 -------
Very weird...I posted a comment to 40507 and then when I went to post patches I
somehow got punted to this bug without realizing it. The patches are for 40507,
not this bug. Sorry for the dupes.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39557] - Include of JSP documents with custom tag libs
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39557
------- Additional Comments From chris@sourcelabs.com 2006-12-28 09:33 -------
Created an attachment (id=19315)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=19315&action=view)
Patch to update host-manager webapp to use servlet 2.4 xsd
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39557] - Include of JSP documents with custom tag libs
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39557
------- Additional Comments From yoavs@computer.org 2007-03-25 14:23 -------
40507 has been fixed, using the patches you sent in Chris -- thanks.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39557] - Include of JSP documents with custom tag libs
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39557
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |akolkar@us.ibm.com
------- Additional Comments From markt@apache.org 2006-10-01 20:46 -------
*** Bug 35252 has been marked as a duplicate of this bug. ***
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39557] - Include of JSP documents with custom tag libs
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39557
------- Additional Comments From chris@sourcelabs.com 2006-12-28 09:34 -------
Created an attachment (id=19316)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=19316&action=view)
Patch to update servlets-examples webapp to use servlet 2.4 xsd
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org