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

[EXI] Encoding Basic types

From: santhanakrishnan <santhana@huawei.com>
Date: Mon, 21 Apr 2008 17:32:41 +0530
To: public-exi@w3.org
Message-id: <000301c8a3a7$9a5ef740$4a18120a@china.huawei.com>

*           While encoding N bit unsigned integer if the range of the
bounded integer is greater than 4095 then the spec states that the input
should be encoded as Integer. I feel it should be encoded as Unsigned
Integer in this case as the original input itself is an N bit Unsigned


*           Also If we encode a bounded integer as N bit unsigned integer
then how the decoder will know the starting value of range while decoding.
The range start value is not part of the encoding. Should the range start
information be made available in the grammar generated from the schema ?


Please clarify the above.



Received on Monday, 21 April 2008 12:03:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:42 UTC