I have seen a variation on this question from another DFDL user. Their binary data format was base64-encoded, and they wanted the DFDL parser to decode to raw bytes and then parse the resulting binary. In other words, they wanted a new enumeration for the dfdl:representation property.

regards,

Tim Kimber, DFDL Team,
Hursley, UK
Internet:  kimbert@uk.ibm.com
Tel. 01962-816742  
Internal tel. 37246742




From:        Steve Hanson/UK/IBM@IBMGB
To:        "Garriss Jr., James P." <jgarriss@mitre.org>,
Cc:        "dfdl-wg@ogf.org" <dfdl-wg@ogf.org>, dfdl-wg-bounces@ogf.org
Date:        08/03/2013 16:00
Subject:        Re: [DFDL-WG] Can DFDL decode Base64
Sent by:        dfdl-wg-bounces@ogf.org




No. We did consider support for xs:base64Binary but it did not make DFDL 1.0 spec.

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:        
"Garriss Jr., James P." <jgarriss@mitre.org>
To:        
"dfdl-wg@ogf.org" <dfdl-wg@ogf.org>,
Date:        
08/03/2013 15:30
Subject:        
[DFDL-WG] Can DFDL decode Base64
Sent by:        
dfdl-wg-bounces@ogf.org




Some of the content that we are parsing is Base64 encoded.  I know this may be a bit of a stretch, but does DFDL decode Base64?
--
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
--
 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