return NS_OK;
static const char kStyleSheetPI[] = "<?xml-stylesheet"; static const char kCSSType[] = "text/css";  static const char kDataSourcePI[] = "<?rdf-datasource"; static const char kContentModelBuilderPI[] = "<?rdf-builder";  nsresult rv; FlushText();  if (! mDataSource) return NS_OK;    const nsString& text = aNode.GetText();   if (0 == text.Find(kStyleSheetPI)) { nsAutoString href; if (NS_FAILED(rv = nsRDFParserUtils::GetQuotedAttributeValue(text, "href", href))) return rv;    if (! href.Length()) return NS_OK;  nsAutoString type; if (NS_FAILED(rv = nsRDFParserUtils::GetQuotedAttributeValue(text, "type", type))) return rv;  if (! type.Equals(kCSSType)) return NS_OK;  nsIURL* url = nsnull; nsAutoString absURL; nsAutoString emptyURL; emptyURL.Truncate(); if (NS_FAILED(rv = NS_MakeAbsoluteURL(mDocumentURL, emptyURL, href, absURL))) return rv;  if (NS_FAILED(rv = NS_NewURL(&url, absURL))) return rv;  rv = mDataSource->AddCSSStyleSheetURL(url); NS_RELEASE(url); } else if (0 == text.Find(kDataSourcePI)) { nsAutoString href; rv = nsRDFParserUtils::GetQuotedAttributeValue(text, "href", href); if (NS_FAILED(rv) || (0 == href.Length())) return rv;  char uri[256]; href.ToCString(uri, sizeof(uri));  rv = mDataSource->AddNamedDataSourceURI(uri); }  return rv;
RDFContentSinkImpl::AddProcessingInstruction(const nsIParserNode& aNode){    PR_LOG(gLog, PR_LOG_ALWAYS,           ("rdfxml: ignoring processing instruction at line %d",            aNode.GetSourceLineNumber()));    return NS_OK;}