#612 for 4.0.x: Attributes other than String and element iterable in foreach are not supported
Merge pull request #649 from leleuj/cas-612-4.0.x

#612 for 4.0.x: Attributes other than String and element iterable in foreach are not supported