W3C home > Mailing lists > Public > public-exi-comments@w3.org > September 2008

[EXI LC comments] Boolean

From: Innovimax SARL <innovimax@gmail.com>
Date: Fri, 19 Sep 2008 19:16:37 +0200
Message-ID: <546c6c1c0809191016w22e6f908na8e7ef9158b941f0@mail.gmail.com>
To: public-exi-comments@w3.org

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
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Friday, 19 September 2008 17:17:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 19 September 2008 17:17:17 GMT