item@value

I'm having a feeling of déjà vue here, but nevertheless:

@value in (almost) all cases is an alternative for the content of an  
element:

   <setfocus><control>start</control></setfocus>
   <setfocus><control value="'start'"/></setfocus>

But it doesn't work like that with <item>.

These are OK:

  <item label="Credit" value="'cc'"/>
  <item label="Credit"><value>cc</value></item>
and even
  <item label="Credit"><value value="'cc'"/></item>

but NOT

  <item label="Credit">cc</value>

Is there really a reason why this is not allowed. It looks like an obvious  
case...

Steven

Received on Wednesday, 19 October 2016 11:25:30 UTC