Title: pattern in schema

Hi,

I have the following definition in schema:


        <xsd:simpleType name = "amount">
                <xsd:restriction base = "xsd:string">
                        <xsd:pattern value = "\d{1,9}\.\d{2}"/>
                </xsd:restriction>
        </xsd:simpleType>


shouldn't 1234567890.12 be invalid value for this type? but Xerces 1.4.4 does not catch it. Anyone knows why?

thanks in advance,

James

Reply via email to