src/xmlpatterns/functions/qcomparingaggregator.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   193             !BuiltinTypes::xsTime->xdtTypeMatches(t1) &&
   193             !BuiltinTypes::xsTime->xdtTypeMatches(t1) &&
   194             !BuiltinTypes::xsDateTime->xdtTypeMatches(t1) &&
   194             !BuiltinTypes::xsDateTime->xdtTypeMatches(t1) &&
   195             !BuiltinTypes::xsYearMonthDuration->xdtTypeMatches(t1))
   195             !BuiltinTypes::xsYearMonthDuration->xdtTypeMatches(t1))
   196     {
   196     {
   197         context->error(QtXmlPatterns::tr("The first argument to %1 cannot be of type %2.")
   197         context->error(QtXmlPatterns::tr("The first argument to %1 cannot be of type %2.")
   198                           .arg(formatFunction(context->namePool(), signature()))
   198                           .arg(QPatternist::formatFunction(context->namePool(), signature()))
   199                           .arg(formatType(context->namePool(), m_operands.first()->staticType())),
   199                           .arg(formatType(context->namePool(), m_operands.first()->staticType())),
   200                        ReportContext::FORG0006, this);
   200                        ReportContext::FORG0006, this);
   201         return me;
   201         return me;
   202     }
   202     }
   203 
   203