resolves #903 ignore case of attribute in conditional directives