Hi Folks, I am working on a DFDL schema for parsing dBase files.
One of its fields is "Field Name". The dBase specification says this about that field: Field name in ASCII, zero-filled, 32 bytes. I have a sample dBase file with this hex value for field name: 6D 61 72 6B 65 72 2D 63 6F 6C 00 43 00 00 00 00 FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 My hex editor also displays the hex as text: marker-col.C....รพ............... I believe the actual field name is "marker-col" and the rest is garbage. (I have this belief because I have a dBase tool and it displays "marker-col") How do I declare, in DFDL, that the element's value is, "The text up to, but not including, the first null (hex 0) symbol; discard the null symbol and all the following hex digits"? /Roger
