NS_IF_RELEASE(kNaturalOrderPosAtom);
RDFGenericBuilderImpl::~RDFGenericBuilderImpl(void){#ifdef DEBUG_REFS  --gInstanceCount;  fprintf(stdout, "%d - RDF: RDFGenericBuilderImpl\n", gInstanceCount);#endif    // NS_IF_RELEASE(mDocument) not refcounted    --gRefCnt;    if (gRefCnt == 0) {        NS_IF_RELEASE(kContainerAtom);        NS_IF_RELEASE(kContainmentAtom);        NS_IF_RELEASE(kEmptyAtom);        NS_IF_RELEASE(kIdAtom);        NS_IF_RELEASE(kIgnoreAtom);        NS_IF_RELEASE(kInstanceOfAtom);        NS_IF_RELEASE(kIsContainerAtom);        NS_IF_RELEASE(kIsEmptyAtom);        NS_IF_RELEASE(kMenuAtom);        NS_IF_RELEASE(kMenuPopupAtom);        NS_IF_RELEASE(kNaturalOrderPosAtom);        NS_IF_RELEASE(kOpenAtom);        NS_IF_RELEASE(kParentAtom);        NS_IF_RELEASE(kPersistAtom);        NS_IF_RELEASE(kPropertyAtom);        NS_IF_RELEASE(kResourceAtom);        NS_IF_RELEASE(kRuleAtom);        NS_IF_RELEASE(kTemplateAtom);        NS_IF_RELEASE(kTextAtom);        NS_IF_RELEASE(kTreeAtom);        NS_IF_RELEASE(kTreeChildrenAtom);        NS_IF_RELEASE(kTreeItemAtom);        NS_IF_RELEASE(kURIAtom);        NS_IF_RELEASE(kValueAtom);        NS_IF_RELEASE(kXULContentsGeneratedAtom);        NS_IF_RELEASE(kNC_Title);        NS_IF_RELEASE(kNC_child);        NS_IF_RELEASE(kNC_Column);        NS_IF_RELEASE(kNC_Folder);        NS_IF_RELEASE(kRDF_child);        NS_IF_RELEASE(kRDF_instanceOf);        NS_IF_RELEASE(kXUL_element);        if (gRDFService) {            nsServiceManager::ReleaseService(kRDFServiceCID, gRDFService);            gRDFService = nsnull;        }        if (gRDFContainerUtils) {            nsServiceManager::ReleaseService(kRDFContainerUtilsCID, gRDFContainerUtils);            gRDFContainerUtils = nsnull;        }        if (gXULSortService) {            nsServiceManager::ReleaseService(kXULSortServiceCID, gXULSortService);            gXULSortService = nsnull;        }        NS_RELEASE(gNameSpaceManager);        NS_IF_RELEASE(gHTMLElementFactory);        if (gXULUtils) {            nsServiceManager::ReleaseService(kXULContentUtilsCID, gXULUtils);            gXULUtils = nsnull;        }    }}