
6 Jul
2005
6 Jul
'05
5:50 p.m.
In the following schema: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="LimitedDecimal"> <xs:restriction base="xs:decimal"> <xs:maxLength value="5"/> </xs:restriction> </xs:simpleType> </xs:schema> I get a validation error saying "maxLength not allowed for type LimitedDecimal" The autoinclude lets me put it there, and I believe maxLength is a valid facet for restricting decimal. What's up?