W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

RE: Pattern facet for boolean

From: Falk, Alexander <al@altova.com>
Date: Mon, 1 Jan 2001 13:01:03 +0100
Message-ID: <0FED160BABE4D311AD2E0050DA465785155C1E@medusa.icon.at>
To: "'Jeff Lowery'" <jlowery@scenicsoft.com>
Cc: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
The reason for the pattern facet on booleans dates back to pre-CR days when
booleans were allowed to be either 0, 1, false, or true - and then it made
sense to allow pattern facets to let the schema developer restrict the value
space to be only {true,false} or only {0,1} if so desired.

Kind regards,

Alexander

... Alexander Falk 
... President, CEO 
... Altova, Inc. - The XML Spy Company

========================================================================= 
XML Spy 3.0  -  the first true Integrated Development Environment for XML 
Visit http://www.xmlspy.com/ to download a free 30-day evaluation version 
========================================================================= 

-----Original Message-----
From: Jeff Lowery [mailto:jlowery@scenicsoft.com]
Sent: Monday, January 01, 2001 01:36
To: 'www-xml-schema-comments@w3.org'
Cc: Jeff Lowery
Subject: Pattern facet for boolean


I noticed in the Part 2:Datatypes spec that the pattern facet was listed for
the boolean built-in. Since boolean can only be 'true' or 'false', what
earthly use is there for it? Just curious.
Received on Monday, 1 January 2001 07:01:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT