Skip to content

Commit

Permalink
Fix #45 Cannot validate functions without a prefix at translation time
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Thomas <markt@apache.org>
  • Loading branch information
markt-asf committed Jun 5, 2020
1 parent f5d76a4 commit 6140fd1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions spec/src/main/asciidoc/ServerPages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3782,8 +3782,8 @@ invocation of the function:

==== Semantics

* If the function has no prefix, the default
namespace is used. If the function has a prefix, assume the namespace as
* If the function has no prefix, the default namespace is used and the function
is not validated. If the function has a prefix, assume the namespace as
that associated with the prefix.
+
Let `ns` be the namespace associated with
Expand All @@ -3806,6 +3806,11 @@ resulting value is the value returned by the method evaluation, or
is thrown during the method evaluation, the exception must be wrapped in
an `ELException` and the `ELException` must be thrown.

NOTE: The introduction in Expression Language 3.0 of Lambdas and the ability to
import methods at runtime via an `ImportHandler`, mean it is no longer possible
to validate functions without a prefix at translation time.


// Table, figure numbering etc
:table-number: 0
== JSP Configuration{counter2:jsp-chapter}
Expand Down

0 comments on commit 6140fd1

Please sign in to comment.