Re: New draft of the Binary Module

On 3.8.2013 16:11, Adam Retter wrote:

> Only comment, and its a minor one, is about static interpretation of
> the $octet-order parameter to some functions.
> If this parameter can only hold one of two possible values, i.e. Big
> or Little Endian. Would it not make more sense to use an xs:boolean? -

We discussed this already (I can't find pointer now) and main motivation
for using something mnemonic and descriptive like BE and LE was that you
have direct indication which ordering is used. If you will see only
true/false in the code you must remember to what these values map.

     Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Received on Monday, 5 August 2013 14:56:32 UTC