Validate XML with XSD generated from a Class

0

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

    
asked by anonymous 16.10.2015 / 20:22

1 answer

0

Generating an XSD automatically is a bad way, 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.

    
16.10.2015 / 21:48