Validate entire XML against schema

0
The import with mapping action, makes it possible to map a string value to an entity structure following a certain schema.   There is an error when the string is not valid according the schema. However, the validation stops validating when there is an error. Hence, only the first error (following the schema) is available in $latestError/Message.   I want to be able to provide the entire validation results back to the client instead of only the first one.   Is is possible to validate the entire string against the schema?    
asked
1 answers
2

This isn’t possible with the mendix functionalities AFAIK.

However you could create a java action that will validate an xml string against the xsd and get all results.

Have a look at https://stackoverflow.com/questions/11131662/how-to-validate-xml-against-xsd-and-get-all-errors

Hope this helps you further in finding and implementing a solution.

answered