if (location != null) {
if (!location.equals(desc.getLocationPath()))
continue;
}
if (desc.matches(name)) {
if (!desc.matches(WILDCARD)) {
// currently, a 'null' namespace value indicates that the XML artifact in question
// either is namespace-less or is part of the default namespace; in both cases,
// we currently can not perform namespace comparison.
// TODO[wguttmn, 20071205]: add code to handle default namespace declarations rather than checking for null