Test152: Foreach with string literal as item?

Hi there,

looking at test152, I find foreach used as:

<foreach item="'continue'" index="Var3" array="Var5">
  <assign location="Var1" expr="Var1 + 1"/>
</foreach>

My interpreter was stumbling upon 'continue' as it is a literal string and as such not a valid variable name. The draft says for item: "Any variable name that is valid in the specified data model.". Which 'continue' is not - am I to read that item ought to *evaluate* to a valid variable name or is this an error in the tests?

Regards
Stefan

Received on Friday, 29 March 2013 18:31:54 UTC