[oXygen-user] How to inform the tool that generates sample instances which subtype to use for elements have abstract types?
Roger L Costello
costello at mitre.org
Thu Jul 1 10:12:07 CDT 2021
Hi Folks,
I really, really like the tool that generates sample XML files from an XML Schema.
But, ......................
It has a problem ..................
I have an element that is declared to have a type that is a complexType and the complexType is abstract. There are multiple concrete subtypes of the abstract complexType.
When the Oxygen tool gets to the element, it realizes that its type is an abstract complexType, so it randomly (?) picks one of the subtypes. And it almost always picks the wrong subtype.
So the generated XML instance document is wrong ....................
Is there a way to tell the Oxygen tool, "Hey, when you encounter this element, with this parent, then use this subtype"?
/Roger
More information about the oXygen-user
mailing list