[DFDL-WG] testBit function clarification needed

Steve Hanson smh at uk.ibm.com
Tue Mar 12 13:15:30 EDT 2013


I think it is unsignedByte only, for symmetry with setBits.

Regards

Steve Hanson
Architect, Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848



From:   Mike Beckerle <mbeckerle.dfdl at gmail.com>
To:     dfdl-wg at ogf.org, 
Date:   12/03/2013 16:12
Subject:        [DFDL-WG] testBit function clarification needed
Sent by:        dfdl-wg-bounces at ogf.org




What types can the $data argument to testBit be? 

xs:unsignedByte is clear, but what other types if any?

I think the stable design points are any of these:
* unsignedByte only
* unsignedByte and byte only
* types xs:long and xs:unsignedLong and any of their sub-types.
* any integer at all

...mike



-- 
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | 
www.tresys.com
--
  dfdl-wg mailing list
  dfdl-wg at ogf.org
  https://www.ogf.org/mailman/listinfo/dfdl-wg

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130312/0d1b8fa4/attachment.html>


More information about the dfdl-wg mailing list