Hi,

2014-05-16 11:51 GMT+03:00 Violeta Georgieva <miles...@gmail.com>:
>
> 2014-05-15 17:40 GMT+03:00 Violeta Georgieva <miles...@gmail.com>:
>
> >
> >
> > Hi,
> >
> > 2014-05-14 14:39 GMT+03:00 Mark Thomas <ma...@apache.org>:
> >
> > >
> > > The proposed Apache Tomcat 8.0.6 release is now available for voting.
> > >
> > > The main changes since 8.0.5 are:
> > > - Further NIO2 fixes which is now considered BETA
> > > - Extend and improve memory leak protection and fix a few leaks that
> > >   crept in during the various refactorings
> > > - Lots of general bug fixes
> > >
> > >
> > > It can be obtained from:
> > > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.6/
> > > The Maven staging repo is:
> > >
https://repository.apache.org/content/repositories/orgapachetomcat-1011/
> > > The svn tag is:
> > > http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/TOMCAT_8_0_6/
> > >
> > > The proposed 8.0.6 release is:
> > > [ ] Broken - do not release
> > > [ ] Alpha  - go ahead and release as 8.0.6 (alpha)
> > > [ ] Beta   - go ahead and release as 8.0.6 (beta)
> > > [ ] Stable - go ahead and release as 8.0.6 (stable)
> >
> > I see a regression in Jasper. (may be this revision 1590842)
> > I'll try to extract a simple example. It is about <jsp:attribute
name="test" /> where the body is missing.
>
> I'm attaching the test case.
> Request it like this http://localhost:8080/tags/test.jsp

The root cause was different - a problem with attributes in custom tags
that have empty string as value.
The issue was also reported with Bug 56529.
Fix is available with r1595171.

Regards
Violeta

>
> > According to the spec the value of the attribute would be "".
> >
> >  java.util.NoSuchElementException
> > at java.util.ArrayList$Itr.next(ArrayList.java:834)
> > at
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1130)
> > at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:879)
> > at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1521)
> > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
> > at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2413)
> > at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2419)
> > at org.apache.jasper.compiler.Node$Root.accept(Node.java:464)
> > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
> > at
org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1837)
> > at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:217)
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
> > at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
> > at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
> > at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
> > at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:301)
> > at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> > at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> >
> >
> > Regards
> > Violeta

Reply via email to