W3C home > Mailing lists > Public > www-forms@w3.org > July 2006

Wildcard in the <value> element

From: Alessandro Triglia <sandro@mclink.it>
Date: Fri, 21 Jul 2006 13:36:36 -0400
To: "[Public XForms]" <www-forms@w3.org>
Message-ID: <005101c6acec$3b241e80$8b01a8c0@aldebaran>

Hi

I am looking at the XForms schema at http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd.   It is unclear to me why the <value> element supports mixed content (as opposed to simple content).

The <value> element can only occur within an <item> or an <itemset>.  No?

>From the paragraphs beginning with "Data Binding Restrictions: any simpleContent" (in Select and Select1), I infer that, when a <value> occurs within an <item>, it must be a simple type.  Am I wrong? 

As for <itemset>, it is unclear to me how <value> can be used within an <itemset>, given that a <value> would provide a single value and not a nodeset.   The specification of the <itemset> element describes the use of the <copy> element but not the use of the <value> element.

So my question is, in what cases (if any) would a <value> element contain a child element?

Thanks in advance,

Alessandro Triglia
Received on Friday, 21 July 2006 17:37:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:05 GMT