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?
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to