Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


equivalent of "NOT NULL" in schema?

From: Lev Lvovsky <lists2@------.--->
To: xmlschema-dev@--.---
Date: 3/12/2007 5:17:00 AM
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 


From petexmldev@t... Tue Mar 13 17:00:51 2007


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent