Login  Register

Re: Re: Schema validation for XSD:int

Posted by TirupatiReddy on Jun 16, 2009; 4:41pm
URL: https://discuss.orbeon.com/Schema-validation-for-XSD-int-tp44183p44187.html

I have nillable="true" for all the xs:integer elements. But it is showing the validation error if we don't enter any value for those elements.


Erik Bruchez wrote
If any validation constraint fails for a node, then that node is  
marked as invalid. This is as per the XForms specification.

Do these elements have xsi:nillable in the schema?

-Erik

On Jun 12, 2009, at 2:10 PM, TirupatiReddy wrote:

>
> Thanks for your suggestion. But the point is I can't change the  
> schema. Right
> now for the temporary fix, I am putting zero by default for integer
> elements. Is there any way that xforms:bind validation overwrites  
> the schema
> validation?
> --
> View this message in context: http://www.nabble.com/Schema-validation-for-XSD%3Aint-tp23968552p24006136.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

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



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws