mNameSpaceStack(nsnull),
XULContentSinkImpl::XULContentSinkImpl()    : mDocumentURL(nsnull),      mDataSource(nsnull),      mNameSpaceStack(nsnull),      mContextStack(nsnull),      mText(nsnull),      mTextLength(0),      mTextSize(0),      mConstrainSize(PR_TRUE),      mHaveSetRootResource(PR_FALSE),      mDocument(nsnull),      mParser(nsnull),      mFragmentRoot(nsnull){    NS_INIT_REFCNT();    if (gRefCnt++ == 0) {        nsresult rv;        rv = nsServiceManager::GetService(kRDFServiceCID,                                          kIRDFServiceIID,                                          (nsISupports**) &gRDFService);        NS_VERIFY(NS_SUCCEEDED(rv), "unable to get RDF service");        NS_VERIFY(NS_SUCCEEDED(rv = gRDFService->GetResource(kURIRDF_child, &kRDF_child)),                  "unalbe to get resource");        NS_VERIFY(NS_SUCCEEDED(rv = gRDFService->GetResource(kURIRDF_instanceOf, &kRDF_instanceOf)),                  "unalbe to get resource");        NS_VERIFY(NS_SUCCEEDED(rv = gRDFService->GetResource(kURIRDF_type, &kRDF_type)),                  "unalbe to get resource");        NS_VERIFY(NS_SUCCEEDED(rv = gRDFService->GetResource(kURIXUL_element, &kXUL_element)),                  "unalbe to get resource");    }}