[xsde-users] XSDE unable to validate totalDigits restriction in xs:decimal element

S R n.e.x.g.e.n.s at gmail.com
Wed Jun 29 08:23:32 EDT 2022


Understood. Thanks Boris.

On Tue, Jun 28, 2022 at 9:22 AM Boris Kolpackov <boris at codesynthesis.com>
wrote:

> S R <n.e.x.g.e.n.s at gmail.com> writes:
>
> > Is there  a simple way to plug in a regular expression and enforce the
> > totalDigits/fractionDigits facets rather than having a complete new class
> > for custom parsing and serialization?
>
> As can be gleaned from the links in my earlier reply, XSD/e supports
> the pattern facet (only valid for string-based types) so provided
> you built the XSD/e runtime with regex support, you could try to
> come up with a suitable pattern.
>


More information about the xsde-users mailing list