[oXygen-user] validation bug?
Linus Kamb
Wed Jul 6 12:50:14 CDT 2005
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?
More information about the oXygen-user
mailing list