MyCoRe assumes authority type eg. in roleTerm is always code which results in errors in classification handling, if the type is text.
There is no such thing as a "authority type". The @type is used to tell what kind of type the element is, e.g. <location> may have a controlled vocabulary with @type='former'.
If @type='text', a new class MCRAuthorityWithTypeText could check the classification for a label x-text to find the right category. This would be done before MCRAuthorityAndCode would be chosen.