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/08/04 08:43:39 UTC
DO NOT REPLY [Bug 22006] -
Invalid SMAP line entries when running with mappedfile=true
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=22006>.
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=22006
Invalid SMAP line entries when running with mappedfile=true
ecarmich@alumni.rice.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
------- Additional Comments From ecarmich@alumni.rice.edu 2003-08-04 06:43 -------
There are two reasons the Actual LineInfo differs from the Expected LineInfo:
1) When a TemplateText node spans more than one line in the JSP, Jasper SMAPs
it as if all of the node's output source was generated by the first line of
the node's input source, and the other lines in the node's input source
contributed nothing.
2) Jasper SMAPs each node independently of the others, and makes no attempt to
consolidate the resulting line section. I'm not sure consolidation is
actually required by the spec, but it reduces the size of the class files, so
it's a good thing to do.
I will attach a patch that fixes both of these.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org