xforms:select and blank value

All,

What is supposed to happen with the following:

     <xforms:select ref="value">
         <xforms:label>Flavors</xforms:label>
         <xforms:item>
             <xforms:label>Empty</xforms:label>
             <xforms:value></xforms:value>
         </xforms:item>
         <xforms:item>
             <xforms:label>Chocolate</xforms:label>
             <xforms:value>chocolate</xforms:value>
         </xforms:item>
     </xforms:select>

The key here is the first item value being empty.

Now if I have the following in the instance:

     <value></value>

Is the first item, "Empty". supposed to be visually selected?

What if I have this:

     <value>chocolate</value>

Clearly, "Chocolate" is selected. But then would "Empty" be selected?

-Erik

-- 
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/

Received on Friday, 1 June 2007 21:10:15 UTC