src/xmlpatterns/schema/qxsdparticlechecker_p.h
changeset 33 3e2da88830cd
parent 0 1918ee327afb
--- a/src/xmlpatterns/schema/qxsdparticlechecker_p.h	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/xmlpatterns/schema/qxsdparticlechecker_p.h	Wed Aug 18 10:37:55 2010 +0300
@@ -85,6 +85,13 @@
             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)
              */