wildcards.add(XMLTypePackage.eNS_URI.toString());
wildcards.add(XMLTypePackage.eNS_URI);
    public BasicValidator(EClass containingClass, EStructuralFeature eStructuralFeature)    {      this.containingClass = containingClass;      this.eStructuralFeature = eStructuralFeature;      wildcards = ExtendedMetaData.INSTANCE.getWildcards(eStructuralFeature);      if (!wildcards.isEmpty())      {        isElement = ExtendedMetaData.INSTANCE.getFeatureKind(eStructuralFeature) == ExtendedMetaData.ELEMENT_WILDCARD_FEATURE;      }      else if (ExtendedMetaData.INSTANCE.getMixedFeature(containingClass) == eStructuralFeature)      {        isElement = true;        groupMembers = new ArrayList();        wildcards = new UniqueEList();        wildcards.add(XMLTypePackage.eNS_URI.toString());        for (Iterator i = ExtendedMetaData.INSTANCE.getAllElements(containingClass).iterator(); i.hasNext(); )        {          EStructuralFeature feature = (EStructuralFeature)i.next();          switch (ExtendedMetaData.INSTANCE.getFeatureKind(feature))          {            case ExtendedMetaData.ELEMENT_FEATURE:            {              groupMembers.add(feature);              break;            }            case ExtendedMetaData.ELEMENT_WILDCARD_FEATURE:            {              wildcards.addAll(ExtendedMetaData.INSTANCE.getWildcards(feature));              break;            }          }        }      }      else if (isFeatureMap(eStructuralFeature))      {        isElement = true;        wildcards = null;        groupMembers = new ArrayList();        for (Iterator i = containingClass.getEAllStructuralFeatures().iterator(); i.hasNext(); )        {          EStructuralFeature feature = (EStructuralFeature)i.next();          for (EStructuralFeature group = ExtendedMetaData.INSTANCE.getGroup(feature);                group != null;                group = ExtendedMetaData.INSTANCE.getGroup(group))          {            if (group == eStructuralFeature)            {              groupMembers.add(feature);            }          }        }      }      else       {        wildcards = null;        isElement = true;        groupMembers = Collections.singletonList(eStructuralFeature);      }    }