Duplicate / Missing elements in generated XML
Posted: Tue Aug 19, 2025 10:14 am
We have set of complex XSDs (around 17 to 20). These XSDs are also extensible by our customers. Using these XSDs, we need to generate the sample XML file. This XML file is pasted in Visual Studio to generate the .cs file which will be further used in our projects.
For this process, we have developed an inhouse tool, using C#, which invokes the Oxygen tool as a process passing the Oxygen configuration file. However the generated XML file is not consistent with same configuration file across different runs. The XML file generated sometimes, based on XSD files, is very huge and takes very long time to generate the file.
Please suggest how do I proceed with this.
For this process, we have developed an inhouse tool, using C#, which invokes the Oxygen tool as a process passing the Oxygen configuration file. However the generated XML file is not consistent with same configuration file across different runs. The XML file generated sometimes, based on XSD files, is very huge and takes very long time to generate the file.
Please suggest how do I proceed with this.