RE: Patterns and Decimal

See [1]: multiple patterns at the same type are interpreted as 
multiple OR branches.
 
-Anli
Tibco Software
 
[1] http://www.w3.org/TR/xmlschema-2/#src-multiple-patterns
<http://www.w3.org/TR/xmlschema-2/#src-multiple-patterns> 

-----Original Message-----
From: daniella d [mailto:daneladg@yahoo.co.uk]
Sent: Thursday, February 27, 2003 10:05 AM
To: Paul Warren
Cc: xmlschema-dev@w3.org
Subject: Re: Patterns and Decimal



Hi, 


What you have written is exactly what I expect it to do. It does it all fine
apart from the third pattern. It doesn't produce an error when I enter
"0123". It seems to be ignoring it. I am using Xerces 2.3.0. I've tried
writing them in different ways but I can't get all three patterns to work
together.  


Danniela 


 Paul Warren <pdw@decisionsoft.com> wrote: 


On Thu, 2003-02-27 at 10:30, daniella d wrote:
> When I use the patterns bellow the third pattern is ignored. Can
> somebody tell me why?
> 
> Thank you
> 
> daniella
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

That does what I expect it to when I try it. That is:

123.00
123
0.123

are all valid.

0123

is invalid.

Is this different from what occurs at your end - if so, what validating
parser are you! u! sing. Otherwise, what are you expecting it to do.

Paul
-- 
Paul Warren, Client Services DecisionSoft Limited
+44-1865-203192 http://www.decisionsoft.com






  _____  

 
<http://uk.yahoo.com/mail/tagline_xtra/?http://uk.docs.yahoo.com/mail_storag
e.html> With Yahoo! Mail you can get a bigger mailbox -- choose a size that
fits your needs

Received on Thursday, 27 February 2003 10:15:09 UTC