I have an XSD file with a complex structure that is challenging to read directly. Using the JAXB-2 Maven plugin, I’ve generated POJO classes from this XSD. Now, I need to create a Java application that can generate fake data based on the restrictions and conditions specified in the XSD.
What would be the best approach to achieve this? How can I ensure that the generated data adheres to the constraints and conditions defined in the XSD schema?
iam looking for an approach to follow , don’t want to set the attributes manually using the java data faker
sof maz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.