Re: Combining enumeration and maxLength

On 21-Apr-2016 3:42 pm, "Michael Kay" <mike@saxonica.com> wrote:
> I would be inclined to do it by defining one type containing the general
rules for values, e.g. maxLength or pattern, and then restricting this
(optionally) with another type that defines more specific rules, eg. an
enumeration.

I think this is a nice suggestion, and reveals a design pattern that can be
adopted.

Note: emailing from my phone.

Received on Saturday, 23 April 2016 12:32:00 UTC