RE: Restrictions on booleans

> -----Original Message-----
> From:	Jeni Tennison [SMTP:jeni@jenitennison.com]
> Sent:	Thursday, August 22, 2002 6:51 AM
> To:	xmlschema-dev@w3.org; Robin Berjon
> Subject:	Re: Restrictions on booleans
> 
> > My questions are: have I understood the spec correctly, and if so
> > does that make much sense? It feels a bit strange having to use a
> > pattern here, any reason why the equivalent enumeration isn't
> > allowed?
> 
> If enumeration were allowed for xs:boolean, the only use would be to
> say that you only wanted to allow true values ("true" or "1") or only
> wanted to allows false values ("false" or "0"). I imagine that this is
> why enumerations aren't allowed for booleans -- it's not something
> that you're actually likely to want to do.
> 
That's exactly right.

pvb

Received on Thursday, 22 August 2002 11:59:47 UTC