equal
deleted
inserted
replaced
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 |