Duplicate / Missing elements in generated XML

This should cover W3C XML Schema, Relax NG and DTD related problems.
Niranjan
Posts: 1
Joined: Tue Aug 19, 2025 7:30 am

Duplicate / Missing elements in generated XML

Post 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.
teo
Posts: 89
Joined: Wed Aug 30, 2017 3:56 pm

Re: Duplicate / Missing elements in generated XML

Post 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
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply