Turn off Validation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Turn off Validation

ChrisSpeare
I have a large XML document validated through a complex set of XSD's.  Whenever I update a field it takes a reasonable amount of time to validate.  Is there anyway to turn off validation of the document - so a bit like submit validate=false, but for the entire document - but allow it to be turned back on again?

Something like bind instance validate = false if ="condtions"
Reply | Threaded
Open this post in threaded view
|

Re: Turn off Validation

Erik Bruchez
Administrator
You can turn off validation for a particular instance with:

   <xforms:instance xxforms:validation="skip">

But this can't be changed over time.

So I think that the fix would have to be more complicated than that and
involve a more advanced optimization of validation.

In the meanwhile, is there any chance you can simplify your schemas?

-Erik

Tima wrote:

> Hello
>
> I have the same problem.
>  
> I hope somebody found the solution  :(
>  
> Thank you!
> Tima
>
>
> ChrisSpeare wrote:
>> I have a large XML document validated through a complex set of XSD's.
>> Whenever I update a field it takes a reasonable amount of time to
>> validate.  Is there anyway to turn off validation of the document - so a
>> bit like submit validate=false, but for the entire document - but allow it
>> to be turned back on again?
>>
>> Something like bind instance validate = false if ="condtions"
>>
>

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



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws