if (p == null) {
prefix = "";
} else {
prefix = p.getStringValue();
}
NamespaceResolver resolver = new InscopeNamespaceResolver(element);
String uri = resolver.getURIForPrefix(prefix, true);
if (uri == null) {
return null;
}
return new AnyURIValue(uri);
}