Skip to content

Example of gluing together a header/envelope schema with a payload schema

License

Notifications You must be signed in to change notification settings

DFDLSchemas/envelope-payload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFDL Schema: envelope-payload example

This is an assembly schema which glues together three component schemas.

These are a tcp header schema, a second header schema, mil-std-2045, and a payload schema, PCAP.

This idiom, where an envelope or header is used in conjunction with a payload, and the two are defined separately, illustrates how they can be mixed and matched, and reused without copying and modifying either of them.

The component schemas are defined and testable in isolation separately.

This schema includes tests of the three when combined.

An additional wrinkle is that the PCAP DFDL schema uses yet another component schema, ethernetIP.dfdl.xsd, so the PCAP schema it both itself an assembly schema, and a component for this schema.

Copyright and Licensing

This software is copyright (c) 2024, Owl Cyber Defense.

It is licensed for your use under the terms of the ASF v2.0 license. See the LICENSE file for further details.

About

Example of gluing together a header/envelope schema with a payload schema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages