NXP-12224: Fix tag 'validateFileMimetype' to take into account 'hidden' attribute when maxSize is set