programmatic metadata validation by the SP
Cantor, Scott
cantor.2 at osu.edu
Fri Feb 17 18:07:33 GMT 2012
On 2/17/12 10:27 AM, "Ian Young" <ian at iay.org.uk> wrote:
>
>You can obviously say "cannot be empty" using minimum length constraints,
>but the actual constraint is "must contain at least one non-whitespace
>character" and as far as I'm aware there just isn't a way to say that
>without going to some pretty hairy regular expression facet stuff. And
>as the man says, if you try and solve a problem with regular expressions
>well, now you have *two* problems.
That's true. Usually the minLength solves a lot of the most common cases
that sneak in though, and the schema check would report line number, etc.
-- Scott
More information about the users
mailing list