[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML Schema and international Booleans

  • From: "Reynolds, Gregg" <greynolds@d...>
  • To: xml-dev@i...
  • Date: Fri, 12 Nov 1999 09:26:06 -0600

xml scheme boolean logic
> -----Original Message-----
> From: Rick Jelliffe [mailto:ricko@a...]
> Sent: Friday, November 12, 1999 12:32 AM
>  > ISO creates international standards and im pretty sure that
> {true,false} is not
> > internationally accepted. Using zero (0) and one (1) is 
> certainly more
> neutral and
> > logical.
> No, because 0 and 1 do not carry implications of true or false to many
> people.  And 0 and 1 are Western symbols, so they are only 
> slightly more
> "international" than "true" and "false". Also, don't forget that O is
> used for "approve" and X is used for "disapprove" in some 
> countries, so
> some people may expect 0 to mean "true".

I may be mistaken about this, but I'm pretty sure that Boolean logic has
nothing to do with truth and falsity.  It just needs two distinguishable
values.  If we wanted to be really up-to-the-minute, we could follow the
usage of logicians and use U+22A4 (DOWN TACK) and U+22A5 (DOWN TACK) as the
canonical values (notice I didn't say "as 'true' and 'false'); but we would
be entirely justified in choosing "foo" and "bar".  Whether the booleans are
used to denote truth-values depends on the application, which should be able
to express t/f in any language.

I'm only half-joking about DOWN/UP TACK; DOWN TACK looks like a capital 'T',
UP TACK looks like it's opposite, so the mapping the true/false is
straightforward, but not part of the semantics of the symbols.  Also about
as language-neutral as it gets.  So define schema semantics in terms of
down/up tack, and define a few standard lexical mappings (e.g. to 'true' and
'false') that all implementations are required to understand.

My two cents before I head back to the fox hole.


P.S.  I just love the phrase "international boolean".  We certainly don't
need no stinkin' national booleans.  Although I understand the municipal
booleans aren't bad in some places. ;)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.