prefix = decoder.decode(prefix);
// Look for a namespace match ...
String namespaceUri = this.namespaceRegistryHolder.getNamespaceRegistry().getNamespaceForPrefix(prefix);
// Fail if no namespace is found ...
if (namespaceUri == null) {
throw new NamespaceException(GraphI18n.noNamespaceRegisteredForPrefix.text(prefix));
}
int nextIndexAfterColon = colonIndex + 1;
String localName = nextIndexAfterColon < value.length() ? value.substring(nextIndexAfterColon) : "";
localName = decoder.decode(localName);
return new BasicName(namespaceUri, localName);