localName = decoder.decode(localName);
// Look for a namespace match ...
String namespaceUri = this.namespaceRegistry.getNamespaceForPrefix(prefix);
// Fail if no namespace is found ...
if (namespaceUri == null) {
throw new NamespaceException(GraphI18n.noNamespaceRegisteredForPrefix.text(prefix));
}
return new BasicName(namespaceUri, localName);
}
}
// If it doesn't fit the prefixed pattern, then try the internal pattern