You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by James Liu <Ja...@FundServ.com> on 2002/03/21 17:15:47 UTC
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