Generate Sample XML Files --> not working correctly

Hi Folks, Sadly, Tool >> Generate Sample XML Files is not working correctly. It fails to generate lots of elements. For example, in my schema is an element with 11 child elements; the tool generated the element but with no content. It also fails on elements with a type that extends another type. Yes, I know to click on "generate optional elements." Sorry, I cannot share my schema. I am using Oxygen version 25.0 /Roger

Hi Roger, We need something to work with, if you could for example create a simplified sample XML Schema similar to your actual schema and exhibiting similar problems, then share it with us, we could take a look at it and maybe improve the generation. Regards, Radu Radu Coravu Oxygen XML Editor On 12/6/22 21:47, Roger L Costello wrote:
Hi Folks,
Sadly,
Tool >> Generate Sample XML Files
is not working correctly. It fails to generate lots of elements. For example, in my schema is an element with 11 child elements; the tool generated the element but with no content. It also fails on elements with a type that extends another type.
Yes, I know to click on "generate optional elements."
Sorry, I cannot share my schema.
I am using Oxygen version 25.0
/Roger _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Dear Roger, It is possible that the generation of those elements is blocked due to reaching the Maximum recursion level threshold https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/xml-schema-inst... I would recommend to triple this value (for example, set it to 3 in the Options/Settings tab) and try to run the instance generation again. Best regards, Stefan Vasile On 12/6/2022 9:47 PM, Roger L Costello wrote:
Hi Folks,
Sadly,
Tool >> Generate Sample XML Files
is not working correctly. It fails to generate lots of elements. For example, in my schema is an element with 11 child elements; the tool generated the element but with no content. It also fails on elements with a type that extends another type.
Yes, I know to click on "generate optional elements."
Sorry, I cannot share my schema.
I am using Oxygen version 25.0
/Roger _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
Oxygen XML Editor Support (Radu Coravu)
-
Roger L Costello
-
Stefan Vasile