Current behavior: The Mapping XML is validated only if the user clicks the Generate button.
Expected behavior: When the user leaves the field, and after browsing the file location, Mapping.xml must be validated for the following rule: File path must exist, file path must end with ".xml". The validation message must be placed under the input field.
A possible solution for the validation:

(with less intense colors)
Colors must be defined in the property file.
Current behavior: The Mapping XML is validated only if the user clicks the Generate button.
Expected behavior: When the user leaves the field, and after browsing the file location, Mapping.xml must be validated for the following rule: File path must exist, file path must end with ".xml". The validation message must be placed under the input field.
A possible solution for the validation:

(with less intense colors)
Colors must be defined in the property file.