Hello Fady,
i have a probably rather uncommon(?) host interface which i have to generate data for with legstar.
The host interface is defined by a cobol copybook. No problem generating xsd and java classes for that :-)
But the host program makes an assumption which is not represented in the copybook. It wants all fields for which no value should be set to be represented as hex 00, regardless of the field type(probably it uses this concept to determine which fields are "empty" and should not be changed). This is kind of sick as legstar will normally produce a copybook conform default value (f.e. 000c for a packed-dec or 40 for a string) when the correspondig java-object field is not set(null).
Do you have any tip how to fullfill this strange(?) request and still use the legstar lib(v1) for xsd/java-converter generation and field conversions?
Thanks
Bernd