W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

Patterns and Decimal

From: daniella d <daneladg@yahoo.co.uk>
Date: Thu, 27 Feb 2003 10:30:36 +0000 (GMT)
Message-ID: <20030227103036.8336.qmail@web20702.mail.yahoo.com>
To: xmlschema-dev@w3.org

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>




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Received on Thursday, 27 February 2003 05:46:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT