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@uk.ibm.com
tel:+44-1962-815848
From: Mike Beckerle
To: dfdl-wg@ogf.org,
Date: 12/03/2013 16:12
Subject: [DFDL-WG] testBit function clarification needed
Sent by: dfdl-wg-bounces@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@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