W3C

Edit comment LC-2103 for Efficient Extensible Interchange Working Group

Quick access to

Previous: LC-2168 Next: LC-2104

Comment LC-2103
:
Commenter: Mohamed ZERGAOUI <innovimax@gmail.com>

or
Resolution status:

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 €
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2103.html,v 1.1 2017/08/11 06:44:18 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org