- From: Lev Lvovsky <lists2@sonous.com>
- Date: Mon, 12 Mar 2007 12:16:32 -0700
- To: xmlschema-dev@w3.org
Hello, I'm new to Schema, so if this question is not appropriate for this list, please let me know. We're using SOAP to transfer data from one database to another. I'm in the process of working out a Schema definition which allows us to validated the SOAP response as much as possible before attempting inserts into the database. I'm curious what the best way to define a type which implies "NOT NULL", specifically, that an element must have at least one character present for whatever data type it is. Clearly this can be done with multiple restrictions on minLength of a simpleType, but is there any way to "inherit" from a "not null" type in the Schema to where a string or integer simply uses that "not null" type as a base? The goal being to use the "minLength" qualifier only once. Any help would be appreciated! thanks, -lev
Received on Tuesday, 13 March 2007 15:56:04 UTC