/Stanimir Stamenkov/:
Seems it is the combination of the pattern facet and the default value.
FWIW, the same thing but using 'string' base doesn't cause problem: <?xml version="1.0" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="sample-elem" type="MyInteger" default="0" /> <xs:simpleType name="MyInteger"> <xs:restriction base="xs:string"> <xs:pattern value="[\-+]?[0-9]+" /> </xs:restriction> </xs:simpleType> </xs:schema> -- Stanimir --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
