/[EMAIL PROTECTED]/:
<xs:element name="sample-elem" type="MyInteger" default="0" /> <xs:simpleType name="MyInteger"> <xs:restriction base="xs:decimal"> <xs:pattern value="[\-+]?[0-9]+" /> </xs:restriction> </xs:simpleType>It seems the "default" attribute causes the problems. Maybe a developer can confirm this bug?
Seems it is the combination of the pattern facet and the default value. If I remove the pattern facet I don't get error neither. Of course the "MyInteger" type is effectively the XML Schema "integer" type, but I get such constructs through a series of automated conversions between different grammar formats.
-- Stanimir --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
