NS_ASSERTION(!gNameSpaceManagerWasShutDown, "Namespace manager used past content module shutdown!!!");
if (aURI.IsEmpty()) { aNameSpaceID = kNameSpaceID_None;
NameSpaceManagerImpl::RegisterNameSpace(const nsAString& aURI,                                         PRInt32& aNameSpaceID){  NS_ASSERTION(!gNameSpaceManagerWasShutDown,               "Namespace manager used past content module shutdown!!!");  PRInt32 id = FindNameSpaceID(aURI);  if (kNameSpaceID_Unknown == id) {    nsString* uri = new nsString(aURI);    if (!uri)      return NS_ERROR_OUT_OF_MEMORY;    gURIArray->AppendElement(uri);     id = gURIArray->Count();  // id is index + 1    nsStringKey key(*uri);    gURIToIDTable->Put(&key, (void*)id);  }    aNameSpaceID = id;  return NS_OK;}