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 2001/12/18 18:03:13 UTC

DO NOT REPLY [Bug 5487] New: - Jasper does not recognize end tags with trailing spaces

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

Jasper does not recognize end tags with trailing spaces

           Summary: Jasper does not recognize end tags with trailing spaces
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Brian.Ewins@btinternet.com


Saw this in a JSP file, not confirmed with a JSP document (ie full XML) yet, 
but eg <custom:tag></custom:tag > will cause jasper to throw an exception that 
it has reached the end of parsing without finding a matching end tag, "possible 
nesting error?".

This may be a problem in the 3.x series as well - I eventually traced the 
problem using NetBeans 3.3 which IIRC uses tomcat 3.2.something as its JSP 
engine; similar errors came out there.

The particular spec this violates is the XML one, production 42, for end tags:
http://www.w3.org/TR/REC-xml#NT-ETag

Very minor as there is an obvious workaround (don't put whitespace in 
there :o) )

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>