Support nested double quotes in SpEL expressions
The Spring Expression Language currently supports nested single quotes within expressions but not nested double quotes. The SpEL tokenizer has been modified to support nested double quotes in the same way it supports single quotes. A sequence of two double quotes will now be replaced by one when evaluated. Extra error handling has also been added to report when invalid escaping is encountered, since SpEL does not support escaping with backslash. Issue: SPR-9620
This commit is contained in:
committed by
Sam Brannen
parent
0d963a690b
commit
75944cc88f
1
src/dist/changelog.txt
vendored
1
src/dist/changelog.txt
vendored
@@ -10,6 +10,7 @@ Changes in version 3.2 M2 (2012-08-xx)
|
||||
* now inferring return type of generic factory methods (SPR-9493)
|
||||
* SpEL now supports method invocations on integers (SPR-9612)
|
||||
* SpEL now supports symbolic boolean operators for OR and AND (SPR-9614)
|
||||
* SpEL now supports nested double quotes in expressions (SPR-9620)
|
||||
* introduced support for case-insensitive null literals in SpEL expressions (SPR-9613)
|
||||
* now using BufferedInputStream in SimpleMetaDataReader to double performance (SPR-9528)
|
||||
* introduced "repeatCount" property in Quartz SimpleTriggerFactoryBean (SPR-9521)
|
||||
|
||||
Reference in New Issue
Block a user