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 6443] New: - Jasper doesn't follow the spec in regards to the xml-view of a JSP page and whitespace handling semantics
Date Wed, 13 Feb 2002 23:27:42 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=6443>.
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=6443

Jasper doesn't follow the spec in regards to the xml-view of a JSP page and whitespace handling
semantics

           Summary: Jasper doesn't follow the spec in regards to the xml-
                    view of a JSP page and whitespace handling semantics
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM


hello.jsp:

<?xml version="1.0"?>
<jsp:root xmlns="http://java.sun.com/JSP/Page"
  version="1.2">
<jsp:declaration>int i;</jsp:declaration>
<hello><jsp:scriptlet>i=3;</jsp:scriptlet>
<hi>
<jsp:text>hi you all
</jsp:text><jsp:expression>i</jsp:expression>
</hi>
</hello>
</jsp:root>

Output:

<hello>
<hi>
hi you all
3
</hi>
</hello>

The output should be:

<hello> <hi> hi you all
3 </hi></hello>

See sections 5.2 and 5.2.11 of the JavaServer Pages Specification.

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


Mime
View raw message