- From: John Schneider <john.schneider@agiledelta.com>
- Date: Wed, 26 Nov 2008 13:27:07 -0800
- To: <innovimax@gmail.com>
- Cc: <public-exi-comments@w3.org>
- Message-ID: <F509FA34F72740E29D6404CC9FF9EE72@jcsdell8600>
Mohamed,
Thank you for your suggestion regarding the order of the bits in the 2-bit unsigned Integer representation used to distinguish between lexical variances of the Boolean type. The current representation allows bit-testing of the first bit to provide the value of the Boolean. It is not clear that changing the representation to allow bit-testing of the second bit rather than the first bit would provide a notable benefit.
Both representations seem equally capable, so our current plan is to keep the current representation. Please let us know if we've misunderstood some aspect of your suggestion.
Thank you,
John Schneider
AgileDelta, Inc.
<http://www.agiledelta.com> http://www.agiledelta.com
From: Innovimax SARL <innovimax@gmail.com <mailto:innovimax@gmail.com?Subject=Re%3A%20%5BEXI%20LC%20comments%5D%20Boolean&In-Reply-To=%253C546c6c1c0809191016w22e6f908na8e7ef9158b941f0%40mail.gmail.com%253E&References=%253C546c6c1c0809191016w22e6f908na8e7ef9158b941f0%40mail.gmail.com%253E> >
Date: Fri, 19 Sep 2008 19:16:37 +0200
Message-ID: <546c6c1c0809191016w22e6f908na8e7ef9158b941f0@mail.gmail.com>
To: public-exi-comments@w3.org <mailto:public-exi-comments@w3.org?Subject=Re%3A%20%5BEXI%20LC%20comments%5D%20Boolean&In-Reply-To=%253C546c6c1c0809191016w22e6f908na8e7ef9158b941f0%40mail.gmail.com%253E&References=%253C546c6c1c0809191016w22e6f908na8e7ef9158b941f0%40mail.gmail.com%253E>
In 7.1.2 Boolean
Please consider instead of
[[
Otherwise, when pattern facets are available in the schema datatype,
Boolean datatype representation is able to distinguish values not only
arithmetically (0 or 1) but also between lexical variances ("0", "1",
"false" and "true"), and values typed as Boolean are represented as
n-bit unsigned integer (7.1.9 n-bit Unsigned Integer), where n is two
(2) and the value zero (0), one (1), two (2) and three (3) each
represents value "false", "0", "true" and "1".
]]
having
[[
the value zero (0), one (1), two (2) and three (3) each represents
value "0", "1", "false", "true".
]]
such as bittesting the last bit could give the right result
Regards,
Mohamed ZERGAOUI
--
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr <http://www.innovimax.fr/>
RCS Paris 488.018.631
SARL au capital de 10.000 €
Received on Wednesday, 26 November 2008 21:42:44 UTC