diff options
author | Claude Brisson <cbrisson@apache.org> | 2018-10-08 19:11:47 +0000 |
---|---|---|
committer | Claude Brisson <cbrisson@apache.org> | 2018-10-08 19:11:47 +0000 |
commit | d0ddf90d8af47534d82d7f5b20535e939cdebad0 (patch) | |
tree | 3b42b61564f9bf8015c4220588786fd71eb416c6 /velocity-engine-core/src/main/resources/org/apache/velocity | |
parent | 10545ce849f566961d21de2ed6b51c6a7854a0f6 (diff) | |
download | apache-velocity-engine-d0ddf90d8af47534d82d7f5b20535e939cdebad0.tar.gz |
[VELOCITY-542] Added a new 'parser.allows.dash.in.identifiers' boolean property (false per default) to (dis)allow '-' in reference identifiers
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843186 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'velocity-engine-core/src/main/resources/org/apache/velocity')
-rw-r--r-- | velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties b/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties index c1ff863a..adf24744 100644 --- a/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties +++ b/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties @@ -238,3 +238,11 @@ introspector.restrict.classes = java.lang.ThreadLocal # ---------------------------------------------------------------------------- space.gobbling = lines + +# ---------------------------------------------------------------------------- +# DASH IN IDENTIFIERS +# ---------------------------------------------------------------------------- +# Set to true to allow '-' in reference identifiers (backward compatibility option) +# ---------------------------------------------------------------------------- + +parser.allows.dash.in.identifiers = false |