summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/schema/qxsdparticlechecker_p.h
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2010-06-17 07:21:05 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2010-06-17 07:21:05 (GMT)
commitf39c9f38276add6ead9bb5d380cc2b32b0fa3390 (patch)
tree2627db65ca9cddb432232ee21116afea73da07a4 /src/xmlpatterns/schema/qxsdparticlechecker_p.h
parent594900e68f8e264facbe8c75eaf2b857240bc072 (diff)
parentfac227f609e544f8f55aca8447b4328d6534407a (diff)
downloadQt-f39c9f38276add6ead9bb5d380cc2b32b0fa3390.zip
Qt-f39c9f38276add6ead9bb5d380cc2b32b0fa3390.tar.gz
Qt-f39c9f38276add6ead9bb5d380cc2b32b0fa3390.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7
Diffstat (limited to 'src/xmlpatterns/schema/qxsdparticlechecker_p.h')
-rw-r--r--src/xmlpatterns/schema/qxsdparticlechecker_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xmlpatterns/schema/qxsdparticlechecker_p.h b/src/xmlpatterns/schema/qxsdparticlechecker_p.h
index 742f0d0..40c525a 100644
--- a/src/xmlpatterns/schema/qxsdparticlechecker_p.h
+++ b/src/xmlpatterns/schema/qxsdparticlechecker_p.h
@@ -85,6 +85,13 @@ namespace QPatternist
static bool isUPAConform(const XsdParticle::Ptr &particle, const NamePool::Ptr &namePool);
/**
+ * Checks whether the given @p particle, which must be an xsd:all element,
+ * is valid according the UPA (http://www.w3.org/TR/xmlschema-1/#cos-nonambig) constraint.
+ * For xsd:all elements, we do not want to construct a state machine.
+ */
+ static bool isUPAConformXsdAll(const XsdParticle::Ptr &particle, const NamePool::Ptr &namePool);
+
+ /**
* Checks whether the given @p particle subsumes the given @p derivedParticle.
* (http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict)
*/