Validate XML with XSD generated from a Class

Asked

Viewed 208 times

0

How can I correctly validate my XML via an XSD that was automatically generated based on a class?

1 answer

0


Automatically generating an XSD is a bad path, but sometimes it is necessary.

The best way is always to create our XSD manually to better define the rules and restrictions so we ensure that validation is successful.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.