W3C home > Mailing lists > Public > public-expath@w3.org > March 2013

Padding (Was: Re: Comments on binary specification)

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 14 Mar 2013 10:44:07 +0100
Message-ID: <51419BE7.20407@kosek.cz>
To: Michael Kay <mike@saxonica.com>
CC: public-expath@w3.org
On 13.3.2013 11:01, Michael Kay wrote:
> 8 - bitwise
> 
> You say the shorter operand is padded, but you don't say whether the
> padding is on the left or the right. I can see use cases for both.
> Perhaps we should require both to be the same length, and provide
> pad-left($in, $size) and pad-right($in, $size).

If there are uses cases for right padding, then I agree that what you
write above makes sense. I will add padding functions into next draft.	

-- 
------------------------------------------------------------------
  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 Thursday, 14 March 2013 09:44:43 GMT

This archive was generated by hypermail 2.3.1 : Thursday, 14 March 2013 09:44:43 GMT