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

equivalent of NOT NULL for element values?

From: Lev Lvovsky <lists2@sonous.com>
Date: Mon, 12 Mar 2007 15:53:38 -0700
Message-Id: <03C2D142-7504-4C4E-8945-F4D14B40B0B2@sonous.com>
To: public-schemata-users@w3.org

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 15:56:43 GMT

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