Mantis - Resin
Viewing Issue Advanced Details
2808 minor always 07-25-08 06:06 08-07-08 17:04
hpri  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.1  
0002808: tag directive parse error
I created a tag starting with:

<%@ tag dynamic-attributes="attrMap"%>
<%@ attribute name="order" required="true" %>
<%@ attribute name="selected" required="true" %>
...

I received a parsing error:

com.caucho.jsp.JspLineParseException: /WEB-INF/tags/widgets/menu.tag:1: org.xml.sax.SAXParseException: Element type "jsp:directive
.tag" must be followed by either attribute specifications, ">" or "/>".

1: <%@ tag dynamic-attributes="attrMap"%>
2: <%@ attribute name="order" required="true" %>
3: <%@ attribute name="selected" required="true" %>

        at com.caucho.jsp.java.JspNode.error(JspNode.java:1761)
        at com.caucho.jsp.java.JspNode.error(JspNode.java:1750)
        at com.caucho.jsp.java.JavaJspGenerator.validate(JavaJspGenerator.java:567)
        at com.caucho.jsp.JspCompilerInstance.generateTag(JspCompilerInstance.java:626)
        at com.caucho.jsp.JspCompilerInstance.compileTag(JspCompilerInstance.java:558)
        at com.caucho.jsp.TagFileManager.getTag(TagFileManager.java:139)
        at com.caucho.jsp.TagFileManager.getTag(TagFileManager.java:115)
        at com.caucho.jsp.TagFileManager.getTag(TagFileManager.java:87)
        at com.caucho.jsp.ParseTagManager.getTagImpl(ParseTagManager.java:100)
        at com.caucho.jsp.ParseTagManager.getTag(ParseTagManager.java:81)
        at com.caucho.jsp.java.JavaJspGenerator.getTag(JavaJspGenerator.java:2216)
        at com.caucho.jsp.java.JavaJspBuilder.startElement(JavaJspBuilder.java:257)
        at com.caucho.jsp.JspParser.parseOpenTag(JspParser.java:1329)
        at com.caucho.jsp.JspParser.parseNode(JspParser.java:544)
        at com.caucho.jsp.JspParser.parseJsp(JspParser.java:374)
        at com.caucho.jsp.JspParser.parse(JspParser.java:263)
        at com.caucho.jsp.JspCompilerInstance.parse(JspCompilerInstance.java:515)
        at com.caucho.jsp.JspCompilerInstance.generate(JspCompilerInstance.java:454)
        at com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:386)
        at com.caucho.jsp.JspManager.compile(JspManager.java:241)
        at com.caucho.jsp.JspManager.createPage(JspManager.java:170)
        at com.caucho.jsp.JspManager.createPage(JspManager.java:149)
        at com.caucho.jsp.PageManager.getPage(PageManager.java:248)
        at com.caucho.jsp.PageManager.getPage(PageManager.java:178)
        at com.caucho.jsp.PageManager.getPage(PageManager.java:161)
        at com.caucho.jsp.QServlet.getSubPage(QServlet.java:295)
        at com.caucho.jsp.QServlet.getPage(QServlet.java:210)
        at com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:238)
        at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:145)
        at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
        at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:494)
        at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:358)
        at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:134)
        at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:239)
        at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1142)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:879)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:114)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
        at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
        at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
        at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:494)
        at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:358)
        at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:1008)
        at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:961)
        at _jsp._web_22dinf._views._administratorhome__jsp._jspService(_administratorhome__jsp.java:79)

Notes
(0003303)
ferg   
08-07-08 17:04   
jsp/1120