if (nameSpaceID != kNameSpaceID_HTML) { rv = element->GetAttribute(kNameSpaceID_None, kIgnoreAtom, uri); if (NS_FAILED(rv)) return rv;  if (rv == NS_CONTENT_ATTR_HAS_VALUE) {     if (uri.Find(propertyURI) >= 0) return PR_TRUE; else return PR_FALSE;
if (nameSpaceID != kNameSpaceID_HTML) { rv = mRoot->GetAttribute(kNameSpaceID_None, kIgnoreAtom, uri); if (NS_FAILED(rv)) return PR_FALSE; if (rv == NS_CONTENT_ATTR_HAS_VALUE) { return uri.Find(propertyURI) >= 0 ? PR_TRUE : PR_FALSE;
RDFGenericBuilderImpl::IsIgnoredProperty(nsIContent* aElement, nsIRDFResource* aProperty){    nsresult rv;    const char		*propertyURI;    rv = aProperty->GetValueConst(&propertyURI);    if (NS_FAILED(rv)) return rv;    nsAutoString uri;    // Walk up the content tree looking for the "rdf:ignore"    // attribute, so we can determine if the specified property should    // be ignored.    nsCOMPtr<nsIContent> element( dont_QueryInterface(aElement) );    while (element) {        PRInt32 nameSpaceID;        rv = element->GetNameSpaceID(nameSpaceID);        if (NS_FAILED(rv)) return rv;        // Never ever ask an HTML element about non-HTML attributes        if (nameSpaceID != kNameSpaceID_HTML) {            rv = element->GetAttribute(kNameSpaceID_None, kIgnoreAtom, uri);            if (NS_FAILED(rv)) return rv;            if (rv == NS_CONTENT_ATTR_HAS_VALUE) {                // Okay, we've found the locally-scoped ignore                // properties, which is a whitespace-separated list of                // property URIs. So we definitively know whether this                // property should be ignored or not.                if (uri.Find(propertyURI) >= 0)                    return PR_TRUE;                else                    return PR_FALSE;            }        }        nsCOMPtr<nsIContent> parent;        element->GetParent(*getter_AddRefs(parent));        element = parent;    }    // Walked _all_ the way to the top and couldn't find anything to    // ignore.    return PR_FALSE;}