context = MetaDataQueryContextFactory.getInstance().createTaglibDomainModelContext(file);
else
context = MetaDataQueryContextFactory.getInstance().createTaglibDomainModelContext(project);
final ITaglibDomainMetaDataQuery query = MetaDataQueryFactory.getInstance().createQuery(context);
Trait fileExt = query.findTrait(attr.getMetaDataContext().getEntity(), "file-extensions"); //$NON-NLS-1$
Trait separator = query.findTrait(attr.getMetaDataContext().getEntity(), "separator"); //$NON-NLS-1$
String[] fileExts = null;
if (fileExt != null){
List exts = TraitValueHelper.getValueAsListOfStrings(fileExt);
fileExts = (String[])exts.toArray(new String[exts.size()]);