[xsd-users] Handling of complex restrictions on types

Jon Winn jon.k.winn at rrd.com
Wed Dec 2 09:22:53 EST 2015


RE: http://codesynthesis.com/pipermail/xsd-users/2015-March/004564.html

I'm trying to remedy the same problem that Yury brings up here. Namely:

>Ideally, I would like to have all of them checked at runtime, so that the
>constructors and/or setters would raise an exception when the restrictions
>are not adhered to.

In the thread Boris states:

>Yes, all valid points. Unfortunately, implementing restriction
>validation in the generated code if probably an order of magnitude
>larger amount of work. And at this stage we have to plans to
>do it.

Is it still the case that XSD does not and will not have runtime validation
in the near future? I face the same dilemma. This feature would benefit our
application greatly!  JKW


More information about the xsd-users mailing list