52 #ifndef Patternist_XsdSchemaChecker_H 53 #define Patternist_XsdSchemaChecker_H 64 #include <QtCore/QExplicitlySharedDataPointer> 72 class XsdSchemaContext;
73 class XsdSchemaParserContext;
static uint hash(const uchar *p, int n)
void addComponentLocationHash(const QHash< NamedSchemaComponent::Ptr, QSourceLocation > &hash)
void checkComplexTypeConstraints()
QExplicitlySharedDataPointer< XsdSchemaContext > m_context
#define QT_END_NAMESPACE
This macro expands to.
QHash< XsdWildcard::NamespaceConstraint::Variety, XsdWildcard::Ptr > DuplicatedWildcardMap
void checkElementDuplicates()
void checkElementConstraints()
void checkBasicCircularInheritances()
void checkSimpleDerivationRestrictions()
QSourceLocation sourceLocation(const NamedSchemaComponent::Ptr &component) const
bool isValidValue(const QString &value, const AnySimpleType::Ptr &type, QString &errorMsg) const
The QString class provides a Unicode character string.
XsdSchemaChecker(const QExplicitlySharedDataPointer< XsdSchemaContext > &context, const XsdSchemaParserContext *parserContext)
bool hasConstraintIDAttributeUse(const XsdAttributeUse::List &list, XsdAttribute::Ptr &conflictingAttribute) const
void checkInheritanceRestrictions()
#define QT_BEGIN_NAMESPACE
This macro expands to.
void checkAttributeUseConstraints()
bool elementSequenceAccepted(const XsdModelGroup::Ptr &sequence, const XsdParticle::Ptr &particle) const
void checkDuplicatedAttributeUses()
The namespace for the internal API of QtXmlPatterns.
A context for schema parsing.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
void checkSimpleTypeConstraints()
static qreal component(const QPointF &point, unsigned int i)
void checkBasicSimpleTypeConstraints()
Encapsulates the checking of schema valitity after reference resolving has finished.
QHash< QXmlName, SchemaType::Ptr > DuplicatedElementMap
QExplicitlySharedDataPointer< XsdSchemaChecker > Ptr
The QSharedData class is a base class for shared data objects.
void checkSimpleRestrictionBaseType()
void checkBasicComplexTypeConstraints()
QHash< NamedSchemaComponent::Ptr, QSourceLocation > m_componentLocationHash
bool hasDuplicatedAttributeUses(const XsdAttributeUse::List &list, XsdAttribute::Ptr &conflictingAttribute) const
bool particleEqualsRecursively(const XsdParticle::Ptr &particle, const XsdParticle::Ptr &otherParticle) const
void checkCircularInheritances()
XsdFacet::Hash facetsForType(const SchemaType::Ptr &type) const
void checkAttributeConstraints()
bool isValidParticleExtension(const XsdParticle::Ptr &extension, const XsdParticle::Ptr &base) const
QHash< QXmlName, QSet< XsdFacet::Type > > m_allowedAtomicFacets
void setupAllowedAtomicFacets()
QSourceLocation sourceLocationForType(const SchemaType::Ptr &type) const
void checkConstrainingFacets()
bool hasMultipleIDAttributeUses(const XsdAttributeUse::List &list) const