Hi guys,
How can I generate xml files randomly from a schema definition file.
Currently I have an xsd, which I insatantiate each time to generate an xml.
My requirement is to generate xml randomly such that fields in the xml conform to the xsd. Is it possible? Is there any java library which will help me do that?
I am using jaxb right now, which lets me generate xml for an xsd. But for this I need to feed value for every single time. Is it possible that a specify range of values in the xsd ans "some java library" generates xml with values within this range.
Any help will be appreciated.
Thanks in advance.
How can I generate xml files randomly from a schema definition file.
Currently I have an xsd, which I insatantiate each time to generate an xml.
My requirement is to generate xml randomly such that fields in the xml conform to the xsd. Is it possible? Is there any java library which will help me do that?
I am using jaxb right now, which lets me generate xml for an xsd. But for this I need to feed value for every single time. Is it possible that a specify range of values in the xsd ans "some java library" generates xml with values within this range.
Any help will be appreciated.
Thanks in advance.
Comment