toggle

Just checking we agree on behaviour, since the spec is not completely  
unambiguous, and I want to fix that.

<toggle> works with case@id, and @caseref works with case@name.

So

  <instance>
     <data xmlns="">
        <c/>
     </data>
  </instance

  <switch caseref="c">
    <case id="a" name="b">...</case>
    <case id="b" name="a">...</case>
  </switch>

Then <setvalue ref="c" value="'a'"/>
and  <toggle case="a"/>

would select different cases.

Right?

Steven

Received on Tuesday, 8 November 2016 13:41:59 UTC