Match elements by case-insensitive type/role attributes
Merge pull request #574 from aik099/573-case-insensitive-type-attr-match

Match elements by case-insensitive type/role attributes