gRDFService->GetResource("position",                     &kPosition);
XULContentSinkImpl::XULContentSinkImpl()    : mText(nsnull),      mTextLength(0),      mTextSize(0),      mConstrainSize(PR_TRUE),      mNameSpaceManager(nsnull),      mInScript(PR_FALSE),      mScriptLineNo(0),      mDataSource(nsnull),      mState(eXULContentSinkState_InProlog),      mContextStack(nsnull),      mDocumentURL(nsnull),      mDocumentBaseURL(nsnull),      mHaveSetRootResource(PR_FALSE),      mDocument(nsnull),      mChildDocument(nsnull),      mParser(nsnull),      mUnprocessedOverlayCount(0),      mOverlayArray(nsnull),      mCurrentOverlay(0),      mParentContentSink(nsnull),      mStyleSheetCount(0),      mCSSLoader(nsnull){    NS_INIT_REFCNT();    if (gRefCnt++ == 0) {        nsresult rv;        rv = nsServiceManager::GetService(kRDFServiceCID,                                          kIRDFServiceIID,                                          (nsISupports**) &gRDFService);        NS_ASSERTION(NS_SUCCEEDED(rv), "unable to get RDF service");        if (NS_SUCCEEDED(rv)) {            gRDFService->GetResource(RDF_NAMESPACE_URI "child",      &kRDF_child);            gRDFService->GetResource(RDF_NAMESPACE_URI "instanceOf", &kRDF_instanceOf);            gRDFService->GetResource(XUL_NAMESPACE_URI "#element",   &kXUL_element);            gRDFService->GetResource(XUL_NAMESPACE_URI "#tag",       &kXUL_tag);        }    }#ifdef PR_LOGGING    if (! gLog)        gLog = PR_NewLogModule("nsXULContentSink");#endif}