Customize xml/xsd validation messages

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Good afternoon everyone:
Ive been validating XML files with a XSD (Schema) and it works ok. But my client wants to see customized messages for the validation exceptions.
I would like to know if there is a "good way" ( best or recommended practice) to, maybe, add those messages to the XSD (when the validation xsd:pattern is not passed) and expose them when a validation
pattern is not fullfiled.
Thanks for any help, hints or tricks! <hr class="sig I need to do, I need to know.

View the full article
 
Back
Top