summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/parser/qmaintainingreader_tpl_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-08-01 11:15:38 +0200
committerLiang Qi <liang.qi@qt.io>2016-08-01 11:15:38 +0200
commit30a4041893c8132040cd982c9ca1204345801750 (patch)
tree39d35ef5a52becbf833608b8c86cd0c5bf8fe837 /src/xmlpatterns/parser/qmaintainingreader_tpl_p.h
parente0207675f2cb28713c9cfce1ecc5854a082d3d2c (diff)
parentc0b6fbcadbefcc8a91e5db7fd98662dddcd7a0f8 (diff)
downloadqtxmlpatterns-30a4041893c8132040cd982c9ca1204345801750.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7
Change-Id: I0653ca8dd6a9b6ee2314911c7679a1c056dc3709
Diffstat (limited to 'src/xmlpatterns/parser/qmaintainingreader_tpl_p.h')
-rw-r--r--src/xmlpatterns/parser/qmaintainingreader_tpl_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/parser/qmaintainingreader_tpl_p.h b/src/xmlpatterns/parser/qmaintainingreader_tpl_p.h
index c57caab..fae1818 100644
--- a/src/xmlpatterns/parser/qmaintainingreader_tpl_p.h
+++ b/src/xmlpatterns/parser/qmaintainingreader_tpl_p.h
@@ -201,7 +201,7 @@ void MaintainingReader<TokenLookupClass, LookupKey>::validateElement(const Looku
formatKeyword(name()),
allowed.first());
}
- else if(totalCount == 1)
+ else if(totalCount == 2)
{
/* Note, allowed has already had formatKeyword() applied. */
translationString = QtXmlPatterns::tr("Attribute %1 cannot appear on the element %2. Allowed is %3, %4, and the standard attributes.")