if(0 != nsCRT::strcasecmp(aTag, "META")) return NS_ERROR_ILLEGAL_VALUE; else return Notify(aDocumentID, numOfAttributes, nameArray, valueArray);
nsresult result = NS_OK;  if (!(aFlags & nsIElementObserver::IS_DOCUMENT_WRITE)) { if(!nsDependentString(aTag).LowerCaseEqualsLiteral("meta")) { result = NS_ERROR_ILLEGAL_VALUE; } else { result = Notify(aWebShell, aChannel, keys, values); } } return result;
NS_IMETHODIMP nsMetaCharsetObserver::Notify(                     PRUint32 aDocumentID,                      const PRUnichar* aTag,                      PRUint32 numOfAttributes,                      const PRUnichar* nameArray[],                      const PRUnichar* valueArray[]){    if(0 != nsCRT::strcasecmp(aTag, "META"))         return NS_ERROR_ILLEGAL_VALUE;    else        return Notify(aDocumentID, numOfAttributes, nameArray, valueArray);}