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/10/09 07:43:02 UTC

DO NOT REPLY [Bug 23691] New: - Incorrect custom tag SMAPping

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

Incorrect custom tag SMAPping

           Summary: Incorrect custom tag SMAPping
           Product: Tomcat 5
           Version: 5.0.13
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ecarmich@alumni.rice.edu


The java servlet Jasper generates from jsp-examples/cal/cal1.jsp has 137 
lines.  But the SMAP includes the LineInfo "19:167,6", which SMAPs line 19 of 
the JSP to lines that don't exist in the generated servlet.

Taking out the "doVisit(n);" line in Generator.java's 
GenBuffer.adjustJavaLines function seems to fix this, but I'm not going to 
commit that change, as I don't understand the surrounding code fully.

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