Page 1 of 1

Duplicate / Missing elements in generated XML

Posted: Tue Aug 19, 2025 10:14 am
by Niranjan
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.

Re: Duplicate / Missing elements in generated XML

Posted: Tue Aug 19, 2025 4:13 pm
by teo
Hello,

I would like to help you investigate the unexpected behavior you reported.
However, I cannot proceed without a reproducible test case.
More specifically, I would need the XSD files you are using to generate the XML samples.
I assume this is a hierarchy of schemas.

Could you please use our technical support account to attach an archive containing the relevant XSD files?
This will allow us to reproduce the problem on our side and provide you with a proper solution.

Regards,
Teo