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 32480] New: - "Unterminated tag" if opening taglib tag is from an include file
Date Wed, 01 Dec 2004 22:38:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32480>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32480

           Summary: "Unterminated tag" if opening taglib tag is from an
                    include file
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: koreth-apache@midwinter.com


If I have a taglib that defines a tag <foo:bar>, the following compiles fine:

<foo:bar>
</foo:bar>

But the following doesn't, where opentag.jspf contains the <foo:bar> tag:

<%@ include file="opentag.jspf" %>
</foo:bar>

I get the following exception:

org.apache.jasper.JasperException: /jsp/test/both.jsp(2,0)
/jsp/test/1.jspf(1,18) Unterminated &amp;lt;foo:bar tag
       
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
       
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
        org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
        org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
        org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
        org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
        org.apache.jasper.compiler.Parser.parse(Parser.java:126)
       
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
        org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
       
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
       
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        org.jboss.web.tomcat.tc5.JvmRouteFilter.doFilter(JvmRouteFilter.java:112)
       
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)

This works fine in other servlet containers (e.g. WebLogic 8.1) and is used
extensively by a caching framework on my site.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message