Two ways, let me know if this meets what you need to do.
IMHO, if the base type is integer it should never allow any kind of
string including blank string. So rather than trying to tweak base type xsd:integer we should use mixture of integer and string.
First solution using Union of integer and string
For integer part, I have assumed that only permissible value for status is 0 or 1. If there are other values you can change it from enumeration and use facets like min/max/Inclusive/Exclusive.
Also for String part I have put facet length=0. If you expect spaces coming use length=1 or just remove that and it should allow blank spaces. You might need to change
pattern to .space.*
Other Simpler solution is to forget about Integer and just go with base type String
Like ...
I think this is more restrictive solution as you might not be able to include more values of integer in simple way. Each time you have to manually add values to the enumeration.
Hope this helps !!!
[ July 11, 2004: Message edited by: Kartik Shah ]
[ July 12, 2004: Message edited by: Kartik Shah ]