W3C home > Mailing lists > Public > public-schemata-users@w3.org > March 2007

Re: equivalent of NOT NULL for element values?

From: mozer <xmlizer@gmail.com>
Date: Tue, 13 Mar 2007 23:14:28 +0100
Message-ID: <21d9ade60703131514w3e665d99se1d89a3af8af18ba@mail.gmail.com>
To: "Lev Lvovsky" <lists2@sonous.com>
Cc: public-schemata-users@w3.org

what about using facet minLength in a restriction ?

On 3/12/07, Lev Lvovsky <lists2@sonous.com> wrote:
>
> Hello, we're using Schema to validate a SOAP feed - I'd like to
> require that certain elements be supplied without "null" (for lack of
> a better word) values:
>
> <some_element></some_element>
>
> Ideally this would be illegal according to the Schema regardless of
> the type of data that the element contained.
>
> If this is not possible, or rather if it's acheived by restrictions
> in simpleType definitions, how can I impose a non-null value for an
> integer type which may be unbounded positive or negative?
>
> thank you,
> -lev
>
>
>
Received on Tuesday, 13 March 2007 22:14:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:16:24 GMT