[oXygen-user] How to get Oxygen to generate an instance containing 100 child elements?

Roger L Costello costello at mitre.org
Wed Sep 6 13:54:47 CDT 2023


Hello Oxygen team,

I am using Oxygen to generate a sample XML instance from an XSD.

Here's my simple XSD:

<xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema>

    <xs:element name="test">
        <xs:complexType>
            <xs:choice maxOccurs="unbounded">
                <xs:element name="A" fixed="A"/>
                <xs:element name="B" fixed="B"/>
                <xs:element name="C" fixed="C"/>
            </xs:choice>
        </xs:complexType>
    </xs:element>

</xs:schema>

Notice the repeatable xs:choice.

I then selected Tools >> Generate Sample XML Files ...

I want the tool to repeat the xs:choice 100 times. I "think" that I have specified this correctly. See screenshot below. However, the tool only repeats the xs:choice 16 times. Why is that? How to get the tool to generate 100 child elements?

[cid:image001.png at 01D9E0D1.F71DEAE0]



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230906/aa563cc2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 184756 bytes
Desc: image001.png
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230906/aa563cc2/attachment-0001.png>


More information about the oXygen-user mailing list