Hello DFDL community, I am working on a DFDL schema for Windows EXE files.
There are many places in my DFDL schema where I replace a numeric value with a symbolic. For example, there is one field called "Storage Class". The specification enumerates a couple dozen numeric values for this field and what each value means: IMAGE_SYM_CLASS_NULL (0) No assigned storage class IMAGE_SYM_CLASS_AUTOMATIC (1) The automatic (stack) variable. The Value field specifies the stack frame offset. IMAGE_SYM_CLASS_EXTERNAL (2) The Value field indicates the size if the section number is IMAGE_SYM_UNDEFINED (0). If the section number is not zero, then the Value field specifies the offset within the section. IMAGE_SYM_CLASS_STATIC (3) The offset of the symbol within the section. If the Value field is zero, then the symbol represents a section name. ... Do you have a recommendation for the generated XML? Which of the following is best practice? (a) <Storage_Class>0</Storage_Class> (b) <Storage_Class>IMAGE_SYM_CLASS_NULL</Storage_Class> (c) <Storage_Class>IMAGE_SYM_CLASS_NULL (0)</Storage_Class> (d) <Storage_Class>No assigned storage class</Storage_Class> (e) <Storage_Class>IMAGE_SYM_CLASS_NULL (0) No assigned storage class</Storage_Class> (f) Other (what?) I am eager to hear your thoughts on this. /Roger
