In addition to the functions described above, the following other types of functions are generated as part of the code generation process:
Initialization functions
Memory free functions
Utility functions based on data type
All of these common functions are applicable to both encode and decode operations and, as such, are written to the common base .c file. The format of the name of this file is as follows:
<xsdFileName>.c
where <xsdFileName> is the base name of the XSD file being parsed. For example, if code is being generated for file x.xsd and -test is specified, then the common functions will be written to x.c .