Trim the values before trying to create the qnames
When loading the events, actions and reactions QNames from the XML Spring file, the values are used as provided in the XML directly. However, it occurs that formating the XML file using any IDE may introduce some spaces, tabs and/or newlines inside the values. As a result, the event/action/reaction are not triggered.
Since space, tab and newlines are not valid characters inside qnames, it would be better to trim the values when converting from String to QName.