https://issues.apache.org/bugzilla/show_bug.cgi?id=56029

--- Comment #8 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Created attachment 31231
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31231&action=edit
test.jspx - Failure to trim leading space from fn prefix

Re: r1559555

Not yet.

Testing current 7.0.x (at r1559663) I see the following error
1. Place attached test.jspx into webapps/examples
2. Access http://localhost:8080/examples/test.jspx
3. Expected: "[1]". Actual:

org.apache.jasper.JasperException: /test.jspx (line: 7, column: 63) The
attribute prefix  fn does not correspond to any imported tag library

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
 org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
 org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:149)

org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1563)
 ...
 org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
 org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1817)
 org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:217)
 ...

In the message the prefix is printed as " fn" with leading whitespace.
The expression on the page is ${1 + fn:length(list)}

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to