diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-10-08 10:14:22 +0200 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-10-08 10:14:38 +0200 |
commit | 9c1470888d8fa1dc3220ea411b8429bf8e9df688 (patch) | |
tree | b99c8711ef3148c357c4b2b79f37cfd8e4181d64 /src | |
parent | 4ff1e9aaad338778801f0e73290705d02192f579 (diff) | |
parent | 3c63cedb5d3defd831eb2d8bfdeb883121737ef3 (diff) | |
download | qtxmlpatterns-9c1470888d8fa1dc3220ea411b8429bf8e9df688.tar.gz |
Merge branch 'stable' into dev
Change-Id: Icbade3b8a1098b442dccb04c85c597e9c7adc423
Diffstat (limited to 'src')
-rw-r--r-- | src/xmlpatterns/schema/qxsdschemahelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/schema/qxsdschemahelper.cpp b/src/xmlpatterns/schema/qxsdschemahelper.cpp index 8072d92..c5e0ee0 100644 --- a/src/xmlpatterns/schema/qxsdschemahelper.cpp +++ b/src/xmlpatterns/schema/qxsdschemahelper.cpp @@ -635,7 +635,7 @@ bool XsdSchemaHelper::substitutionGroupOkTransitive(const XsdElement::Ptr &head, NamedSchemaComponent::BlockingConstraints checkSet(blockSet); checkSet |= head->disallowedSubstitutions(); - if (head->type()->isComplexType()) { + if (head->type()->isComplexType() && head->type()->isDefinedBySchema()) { const XsdComplexType::Ptr complexType(head->type()); checkSet |= complexType->prohibitedSubstitutions(); } |