Ah, sorry. Here's my form:

<xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<xforms:instance>
<form>
<action/>
<date/>
<newPart/>
<fastener/>
<voltage/>
<toggle/>
<description/>
</form>
</xforms:instance>


<xforms:bind nodeset="/form/date" type="xsd:date" required="true()"/>

</xforms:model>

When I pull up the page to enter the data for "date", I get an error message because the form is empty (not what I want). If I enter an incorrect value, like Jan.1, 2005, that is accepted (again, not what I want).

Don


Alessandro Vernet wrote:

--- Don Smith <[EMAIL PROTECTED]> wrote:



I want to bind some elements in my form to W3C Schema simple types.

I know about the <bind> element in the form document, but there appears to be additional connections between the form and the schema required because that alone isn't requiring the data type I want for a specific element (for example, I want to bind a <date> element to the W3C date data type).



Hi Don,

I don't have enough information to really answer your question. What does your
<xforms:bind> element look like? What is it that you see that you do not
expect?

Alex



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user







------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to