W3C home > Mailing lists > Public > xml-dist-app@w3.org > August 2001

Canonical representation of boolean attributes

From: <mario.jeckle@daimlerchrysler.com>
Date: Wed, 15 Aug 2001 14:32:54 +0200
To: xml-dist-app@w3.org
Message-id: <0057440038502004000002L442*@MHS>
Hello,

concerning the root attribute proposal and also the mustUnderstand
reformulation issue I discovered that we're currently using Boolean's lexical
representation within the SOAP v1.2 editor's copy. The lexical representation
of bool is either 0, 1 or true, false.

Since XSD recommends the usage of the _canonical representation_ (which is
"true" or "false") wherever possible I suggest the usage of "true" instead of
"1" and "false" instead of "0" wherever we're talking about instances of
boolean attributes or elements. Currently affected are sections 2.4, 2.5, and
5.6 of the SOAP document.

Technically it makes nearly no difference, but since XSD defines an isomorphic
one-to-one mapping of the canonical representation and the underlying type I
think it would be the better decision to do it that way.

The changes are quite simple, actually they could be applied using
search-and-replace ;) But if the WG decides so I could offer reformulation
proposals.

Cheers, 
Mario
Received on Wednesday, 15 August 2001 08:34:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:03 GMT