namespace = css.getNamespaceDefinition(prefix);
}
if (namespace == null)
{
problems.add(new CSSUndefinedNamespacePrefixProblem((CSSSelector)selector));
continue;
}
assert (selector.getElementName() != null) : "Null element name should be skipped as a wildcard selector.";
final XMLName xmlName = new XMLName(namespace.getURI(), selector.getElementName());