XSD validation / Calculations

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

XSD validation / Calculations

ChrisSpeare
I have a form which has large set of XSD's and a large number of cacluations against it.  Whenever I update a field it appears to be checking the entire xml against the xsd - as it takes a large amount of time to validate a field change.  Is there anyway to only validate the field that has changed, or to check what is currently being to checked so I can see where the bottleneck is.

Also, is there anyway to have the calculations on the client side so not to overload my server when doing document calculations?
Reply | Threaded
Open this post in threaded view
|

Re: XSD validation / Calculations

Erik Bruchez
Administrator
ChrisSpeare wrote:
> I have a form which has large set of XSD's and a large number of cacluations
> against it.  Whenever I update a field it appears to be checking the entire
> xml against the xsd - as it takes a large amount of time to validate a field
> change.  Is there anyway to only validate the field that has changed, or to
> check what is currently being to checked so I can see where the bottleneck
> is.

Not with the current code: it validates everything all the time.

> Also, is there anyway to have the calculations on the client side so not to
> overload my server when doing document calculations?

Not at the moment. All validation takes place on the server.

These are both great suggestions for improvement, but unfortunately the
code is not there yet.

-Erik

--
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