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

Boris Kolpackov boris at codesynthesis.com
Tue Jun 28 09:22:20 EDT 2022


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