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/02/19 15:44:37 UTC

DO NOT REPLY [Bug 17204] New: - jsp:element generates incorrect output when used in a JSP Document and the element includes an xmlns attribute.

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=17204>.
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=17204

jsp:element generates incorrect output when used in a JSP Document and the element includes an xmlns attribute.

           Summary: jsp:element generates incorrect output when used in a
                    JSP Document and the element includes an xmlns
                    attribute.
           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 segment within a JSP Document:

<jsp:element name="elementName"
    xmlns:jsp="http://java.sun.com/JSP/Page>body</jsp:element>

Will generate the following:

  <elementName xmlns:jsp="http://java.sun.com/JSP/Page">body</elementName>

The xmlns attribute in this case shouldn't be passed through to the output,
unless explicitly set using a jsp:attribute action.

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