diff options
author | Jure Repinc <jlp@holodeck1.com> | 2009-09-29 15:02:27 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-09-29 15:25:39 (GMT) |
commit | 1c5faed133375d9ab0243e4133bcb86dba7dd40f (patch) | |
tree | ad889d14a2a429c06a3e265f6cbe0c1c1fd157ef /src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp | |
parent | cd629a27cfb32ee8b941c436d1a7bba785186317 (diff) | |
download | Qt-1c5faed133375d9ab0243e4133bcb86dba7dd40f.zip Qt-1c5faed133375d9ab0243e4133bcb86dba7dd40f.tar.gz Qt-1c5faed133375d9ab0243e4133bcb86dba7dd40f.tar.bz2 |
Used the correct placeholder for the second argument
Merge-request: 1320
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp')
-rw-r--r-- | src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp b/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp index 10318f1..0980777 100644 --- a/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp +++ b/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp @@ -455,7 +455,7 @@ bool XsdValidatingInstanceReader::validateElement(const XsdElement::Ptr &declara const QString value = attribute(m_xsiNilName); const Boolean::Ptr nil = Boolean::fromLexical(value); if (nil->hasError()) { - error(QtXmlPatterns::tr("attribute %1 contains invalid data: %1").arg(formatKeyword(QLatin1String("nil"))).arg(formatData(value))); + error(QtXmlPatterns::tr("attribute %1 contains invalid data: %2").arg(formatKeyword(QLatin1String("nil"))).arg(formatData(value))); return false; } |