Jov has found a problem with <set-multi> which needs
to be investigated.
In the situation below:
<set var="sv_modName" value ="selftest"/>
<set-multi var="mv_?@sv_modName?_customActions"
value="runtest,checktest"/>
produces the following error:
xvcl.util.XVCLException:
Invalid variable name - mv_?@sv_modName?
_customActions
- <set-multi var="mv_?@sv_modName?_customActions"
value="runtest,checktest"/>
- file:/C:/eLearning/X-
Framework/inc_win_customactions.xvcl
- Fatal Error
at xvcl.commands.SetMul.parseAttributes
(SetMul.java:60)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:79)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:86)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:86)
at xvcl.commands.Frame.parse(Frame.java:71)
at xvcl.commands.Adapt.emit(Adapt.java:180)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:87)
at xvcl.commands.Frame.parse(Frame.java:71)
at xvcl.commands.Adapt.emit(Adapt.java:180)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:87)
at xvcl.commands.While.parse(While.java:62)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:86)
at xvcl.commands.Frame.parse(Frame.java:71)
at xvcl.commands.Adapt.emit(Adapt.java:180)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:87)
at xvcl.commands.While.parse(While.java:62)
at xvcl.commands.XVCLNode.parse(XVCLNode.java:86)
at xvcl.commands.Frame.parse(Frame.java:71)
at xvcl.commands.Frame.parse(Frame.java:83)
at xvcl.util.FrameParser.build(FrameParser.java:71)
at xvcl.XVCL.main(XVCL.java:196)
Terminated with exit code 1
The same usage is fine with single value variable as
below:
<set var="sv_modName" value ="selftest"/>
<set var="mv_?@sv_modName?_customActions"
value="runtest,checktest"/>
best regards,
soe