We don't have a formal process documented yet, but we've just been
following the standard GitHub flow, i.e. create a GitHub fork of the
Daffodil site repo [1], push changes to your fork, and create a GitHub
pull request. We'll then review and merge it.

An unparse example would be very welcome!

Thanks!
- Steve

[1] https://github.com/stevedlawrence/incubator-daffodil-site

On 08/09/2018 12:45 PM, Roberts, Amy L2 wrote:
> Thanks, Steve, that's great news!
> 
> 
> Is there a process for submitting a pull request to the daffodil site?  I'd 
> like 
> to propose adding a deserialization example to the "examples" page.
> 
> 
> Amy
> 
> --------------------------------------------------------------------------------
> *From:* Steve Lawrence <[email protected]>
> *Sent:* Wednesday, August 8, 2018 5:41:07 PM
> *To:* [email protected]; Roberts, Amy L2
> *Subject:* Re: reading custom data format, writing custom data format?
> Yep, Daffodil handles both deserialization and serialization (DFDL calls
> them "parse" and "unparse", respectively). Using the CLI, you can
> unparse XML using the "unparse" subcommand and provide the XML as the
> input, for example:
> 
>    # Parse CSV to XML and save to file
>    $ daffodil parse --schema
> CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd
> CSV/src/test/resources/com/tresys/csv/data/simpleCSV.csv > simpleCSV.csv.xml
> 
>    # Unparse that XML back to CSV
>    $ daffodil unparse --schema
> CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd simpleCSV.csv.xml
> 
> - Steve
> 
> On 08/08/2018 07:27 PM, Roberts, Amy L2 wrote:
>> Hello,
>> 
>> I'm interested in both serialization and deserialization of custom binary 
>> data sets.
>> 
>> My understanding is that daffodil handles deserialization of data into xml - 
>> as
>> illustrated in the nice examples at https://daffodil.apache.org/examples/.
>> 
>> Does anyone know if daffodil handles serialization, as well?
>> 
>> Thanks,
>> 
>> Amy
>> 
> 

Reply via email to