Hi Folks,

A file contains a long series of text data and at the end is binary data. The 
binary data is not encoded as base64 text or anything like that. It is raw, 
unfiltered, unencoded binary data.

Is it a text file or a binary file?

Should the DFDL schema specify representation="text" or 
representation="binary"? 

Or, should the DFDL schema specify representation="text" for the text part and 
then switch to representation="binary" for the binary part?

All this time I have been thinking that a DFDL schema will have one 
dfdl:representation, But perhaps I am wrong. Have you ever used more than one 
dfdl:representation in a DFDL schema? If yes, then are the files it specifies 
some kind of a hybrid between text and binary? 

/Roger

Reply via email to