protected Namespace remove(int index){
  Namespace namespace=namespaceStack.remove(index);
  namespaceCacheList.remove(index);
  defaultNamespace=null;
  currentNamespaceCache=null;
  return namespace;
}

protected Namespace remove ( int index ) { Namespace namespace = namespaceStack . remove ( index ) ; namespaceCacheList . remove ( index ) ; defaultNamespace = null ; currentNamespaceCache = null ; return namespace ; }
removes the namespace at the given index of the stack
