Some data formats do have a document-oriented structure.

The dfdl:documentFinalTerminatorCanBeMissing property explicitly accomodates 
this exception for the final terminator of a file, which is a document-centric 
thing.

But yeah, many formats are messages for message-streaming, and the document 
element XML stuff is just an annoyance.
________________________________
From: Costello, Roger L. <[email protected]>
Sent: Monday, April 13, 2020 7:52 AM
To: [email protected] <[email protected]>
Subject: Why does the root element of a DFDL schema need to specify any 
properties?

Hi Folks,

Consider a root element that has a complexType. The root element we declare in 
the DFDL schema is just an artifact of XML Schema. There is no "root element" 
in the data format. The purpose of the DFDL schema is to specify the properties 
of a data format. Since the data format has no "root element," there should be 
no properties to specify in the DFDL schema root element. Yes?

/Roger

Reply via email to