Questions tagged [dfdl]

DFDL is a language for describing text and binary data formats. It allows data to be read from its native format and be presented as an instance of an information set.

Data Format Description Language (DFDL) is a language for describing text and binary data formats. A DFDL description allows any text or binary data to be read from its native format and to be presented as an instance of an information set. DFDL also allows data to be taken from an instance of an information set and written out to its native format. DFDL achieves this by leveraging W3C XML Schema Definition Language (XSDL) 1.0. It is therefore very easy to use DFDL to convert text and binary data to a corresponding XML document.

Source: OGF Standards: Data Format Description Language (DFDL)

27 questions
3
votes
1 answer

Data format binary schema description and decoding in python

I'm creating some python scripts for decoding various binary formats. Each format has a lot of different records and quite a lot of the data is encoded in specific bit ranges within specific bytes. Therefore I'm looking for a python package that…
Thomas
  • 198
  • 1
  • 1
  • 12
1
vote
1 answer

DFDL decoding of enumerated binary data

I'm currently working on a DFDL schema for a legacy (custom) binary file format used in a system to translate to either XML or JSON. I've got some binary data that is enumerated values, i.e. the C-struct data type looks like this (and stored as a…
Pirowe
  • 31
  • 3
1
vote
1 answer

How can I use Apache Daffodil's DataProcessor.unparse() method to reconstitute the original parsed message?

I am a beginner to Apache Daffodil. I used Daffodil Java API to parse input text message successfully to XML string i.e., Compiler dfdlCompiler = Daffodil.compiler(); dfdlCompiler.setValidateDFDLSchemas(true); File…
sairn
  • 461
  • 3
  • 24
  • 58
1
vote
1 answer

What are some good DFDL validators and editors to use?

I want to work on binary files and I believe the Data Format Description Language serves as a schema for them, like XML schemas. My search results didn't seem to point to anything useful. What are some good DFDL validators and editors to use?
oddRaven
  • 672
  • 1
  • 7
  • 20
1
vote
4 answers

IBM Integration Bus: The PIF data could not be found for the specified application

I'm using IBM Integration Bus v10 (previously called IBM Message Broker) to expose COBOL routines as SOAP Web Services. COBOL routines are integrated into IIB through MQ queues. We have imported some COBOL copybooks as DFDL schemas in IIB, and the…
Ariel C.
  • 33
  • 1
  • 6
1
vote
1 answer

Convert DFDL to XML

I'm trying to parse a web service response message in the following format (message tree): Message Properties Properties..[] DFDL ObjectIWantUnmarshalled AllItsDataIwant[] And unmarshal the…
JWiley
  • 3,129
  • 8
  • 41
  • 66
0
votes
0 answers

Apache Avro vs. DFDL for data conversion

I am planning a service which will be used to convert data between many different structure formats. For example, some data may be simple and written in csv format, while other can be much more complex. Many data sources comes from sensor data, and…
Frank
  • 619
  • 1
  • 6
  • 26
0
votes
0 answers

Schema Definition Error using Apache daffodil

I am using cmd to parse a NITF file to xml. I run .\daffodil.bat parse --schema nitf.dfdl.xsd 2301573_3.ntf The nitf.dfdl.xsd, nitf_common_types.dfdl.xsd, nitf_extension_types.dfdl.xsd and the NITF are contained in the same folder as the…
Rina Tse
  • 61
  • 5
0
votes
0 answers

Using Daffodil DFDL to Convert JSON to XML

I would like to utilize DFDL (Daffodil) to convert JSON to XML. I see examples at this location: https://github.com/DFDLSchemas I am not seeing an example using something similar to JSON. Is there example DFDL schemas that would show me how to do…
0
votes
0 answers

dfdl schema to conditionally require/skip an element ref

I have broken my schema into parts to make it more manageable, each part is inside a separate file, and I am using element ref
user612514
  • 99
  • 8
0
votes
1 answer

Use apache daffodil to parse NITF to XML

I am trying to use cmd to parse a NITF file to an XML using apache daffodil. In cmd, I run .\daffodil.bat parse --schema nitf.dfdl.xsd 2301573_3.ntf The nitf.dfdl.xsd, nitf_common_types.dfdl.xsd, nitf_extension_types.dfdl.xsd and the NITF are…
Rina Tse
  • 61
  • 5
0
votes
1 answer

Use Apache Daffodil cmd interface

I am new to Apache Daffodil and am trying to follow the example provided: https://daffodil.apache.org/examples/ I am trying to parse the file, simpleCSV using the schema, csv.dfdl.xsd. Both files are in the same folder as the daffodil.bat folder. In…
Rina Tse
  • 61
  • 5
0
votes
1 answer

DFDL Schema for parsing delimited text message

Need small help for DFDL. I need to parse below message as something like XML/tree structure. Elements are not fixed and dynamic. Sometime some other elements will appear. XML/Tree output expected as something…
Rohit Borse
  • 75
  • 1
  • 10
0
votes
0 answers

ECC in NAND chip, where oobsize has changed?

I am presently working on replacing the nand chip, where the oobsize has changed from x to y. This means that ecc also changes. Can anyone guide me what ecc is? What is OOBSize in nand chip, how are they related? there significance. I am a newbie,…
0
votes
1 answer

Is it feasible to pre-compile (Maven/Gradle) Apache Daffodil DataProcessor for use as a dependency in a separate parsing app?

Apache Daffodil newby... Trying to save start up time with an Apache Daffodil message parsing application. Just wanted to know if it were possible (or feasible) to pre-compile an Apache Daffodil "DataProcessor" object (with a designated schema, of…
sairn
  • 461
  • 3
  • 24
  • 58
1
2