if (!aAVT && (aRequired || !aState.fcp())) {  return NS_ERROR_XPATH_PARSE_FAILURE;
if (!aAVT) { if (!aState.fcp()) {  return NS_ERROR_XPATH_PARSE_FAILURE; }  if (aRequired) { aAVT = new txErrorExpr( #ifdef TX_TO_STRING attr->mValue #endif ); NS_ENSURE_TRUE(aAVT, NS_ERROR_OUT_OF_MEMORY); }
getAVTAttr(txStylesheetAttr* aAttributes,           PRInt32 aAttrCount,           nsIAtom* aName,           PRBool aRequired,           txStylesheetCompilerState& aState,           nsAutoPtr<Expr>& aAVT){    aAVT = nsnull;    txStylesheetAttr* attr = nsnull;    nsresult rv = getStyleAttr(aAttributes, aAttrCount, kNameSpaceID_None,                               aName, aRequired, &attr);    if (!attr) {        return rv;    }    aAVT = txExprParser::createAttributeValueTemplate(attr->mValue, &aState);    if (!aAVT && (aRequired || !aState.fcp())) {        // XXX ErrorReport: XPath parse failure        return NS_ERROR_XPATH_PARSE_FAILURE;    }    return NS_OK;}