xforms:item and xforms:itemset: label and value bound to non-existing nodes

All,

I am not sure that the spec is very explicit on this matter. Consider:

<xforms:item>
   <xforms:label ref="some-label"/>
   <xforms:value ref="some-value"/>
</xforms:item>

Now what if "some-label" doesn't point to a node? This is probably the
same as, say, an xforms:input label not pointing to a node. Does this
mean that the XForms engine handles:

o The label as non-relevant?
o The label as an empty string?
o The whole item as not available for selection?

Similar scenario with some-value. Does the XForms engine handle:

o The value as an empty string?
o The whole item as not available for selection?

(I can't imagine what it could mean for just the value to be
"non-relevant").

Same question when "unrolling" the xforms:itemset. Say you have
something like this:

<xforms:item nodeset="item">
   <xforms:label ref="some-label"/>
   <xforms:value ref="some-value"/>
</xforms:item>

pointing to the following:

<item>
   <some-label>One</some-label>
   <some-value>1</some-value>
<item>
<item>
   <some-label>Two</some-label>
   <oops>2</oops>
<item>
<item>
   <some-label>Three</some-label>
   <some-value>3</some-value>
<item>
<item>
   <oops>Four</oops>
   <some-value>4</some-value>
<item>

-Erik

Received on Tuesday, 18 April 2006 19:26:07 UTC