- From: <Arnold.Schrijver@2organize.com>
- Date: Thu, 27 Feb 2003 12:20:19 +0100
- To: xmlschema-dev@w3.org
- Cc: daniella d <daneladg@yahoo.co.uk>
Received on Thursday, 27 February 2003 06:18:52 UTC
This is, I think, because any expression that matches the third pattern,
also matches the second.
Cheers,
Arnold Schrijver
The Netherlands.
daniella d <daneladg@yahoo.co.uk>
Sent by: xmlschema-dev-request@w3.org
02/27/2003 11:30 AM
To: xmlschema-dev@w3.org
cc:
Subject: Patterns and Decimal
Hi,
When I use the patterns bellow the third pattern is ignored. Can somebody
tell me why?
Thank you
daniella
<xsd:simpleType>
<xsd:restriction base = "xsd:decimal">
<xsd:totalDigits value = "11"/>
<xsd:fractionDigits value = "3"/>
<xsd:pattern value = "[0-9][.][0-9]*"/>
<xsd:pattern value = "[1-9][0-9]*[.][0-9]*"/>
<xsd:pattern value = "[1-9][0-9]*"/>
</xsd:restriction>
</xsd:simpleType>
Received on Thursday, 27 February 2003 06:18:52 UTC