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/01/14 22:48:38 UTC
DO NOT REPLY [Bug 16079] New: -
Jasper incorrectly flags nested within an element as an 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=16079>.
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=16079
Jasper incorrectly flags <jsp:attribute> nested within an <jsp:element> element as an error.
Summary: Jasper incorrectly flags <jsp:attribute> nested within
an <jsp:element> element as an error.
Product: Tomcat 5
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: Ryan.Lubke@Sun.COM
Given the following JSP 2.0 document:
--------------------------------------------
<?xml version="1.0"?>
<root xmlns:jsp="http://java.sun.com/JSP/Page">
<jsp:directive.page contentType="text/plain" />
<jsp:element name="hello">
<jsp:attribute name="world">
greetings
</jsp:attribute>
<jsp:body>Hello World</jsp:body>
</jsp:element>
</root>
---------------------------------------------------
The following error message is generated:
"jsp:attribute must be a sublement of a standard or custom action"
The interesting thing about the error message is that the line that it's
complaining about is the <root> element with the namespace declaration.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>