RE: Pattern facet for boolean

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 UTC