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 2004/03/01 16:36:44 UTC

DO NOT REPLY [Bug 27338] New: - Wrong mappings for JSP Documents (.jspx)

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

Wrong mappings for JSP Documents (.jspx)

           Summary: Wrong mappings for JSP Documents (.jspx)
           Product: Tomcat 5
           Version: 5.0.19
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: martin.grebac@sun.com


See attached basic.jspx file translated to attached basic_jspx.java file.
The mapping for the file is:

SMAP
basic_jspx.java
JSP
*S JSP
*F
+ 0 basic.jspx
jsp2/jspx/basic.jspx
*L
2:42
3,2:44
5:46,2
9,5:49
19,4:56
*E

 So, there's a mapping between lines 19 -> 56 and 20->57 but it actually should
be 20 -> 56 and 21 -> 57 (seems like CDATA is not handled properly). 
 The result is weird, because we are looping between 'CDATA' and 'for (..)'
lines , not through the loop itself. There are other problems in the first
scriptlet, too (again CDATA?).
 This prevents debugging of JSP Documents.

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