// reference is wrapped in quotes
prefix = text.substring(1, index);
namespace = mExecutionState.getNamespaceManager().resolvePrefix(prefix);
if (namespace == null)
{
throw new UndefinedNamespacePrefixException(prefix);
}
localName = text.substring(index+1, text.length()-1);
}
else
{