- From: Willi Weichselbaumer <williweichselbaumer@hotmail.com>
- Date: Tue, 29 May 2007 12:42:53 -0700
- To: <xmlschema-dev@w3.org>
Received on Tuesday, 29 May 2007 19:43:01 UTC
Hi Michael, thanks for your suggestion: <xs:simpleType name="emptyString"> <xs:restriction base="xs:string"> <xs:pattern value=""/> </xs:restriction> </xs:simpleType> <xs:simpleType name="myinteger"> <xs:union memberTypes="xs:integer xs:emptyString"/> </xs:simpleType> works well, but how do I do a redefine? <xs:redefine schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"> <xs:simpleType name="integer"> ... </xs:simpleType> </xs:redefine> no matter what I try it seems to be invalid. What I try to accomplish is that a valid integer can be an integer or an empty string. I want to do this wit some other data types as well. Thanks, Willi _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
Received on Tuesday, 29 May 2007 19:43:01 UTC