Changeset 846 for trunk/src/xmlpatterns/schema
- Timestamp:
- May 5, 2011, 5:36:53 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
-
. (modified) (1 prop)
-
src/xmlpatterns/schema/qxsdparticlechecker.cpp (modified) (2 diffs)
-
src/xmlpatterns/schema/qxsdparticlechecker_p.h (modified) (1 diff)
-
src/xmlpatterns/schema/qxsdschemachecker_setup.cpp (modified) (1 diff)
-
src/xmlpatterns/schema/qxsdschemaparser.cpp (modified) (5 diffs)
-
src/xmlpatterns/schema/qxsdschemaparser_setup.cpp (modified) (2 diffs)
-
src/xmlpatterns/schema/qxsdstatemachine_p.h (modified) (2 diffs)
-
src/xmlpatterns/schema/qxsdtypechecker.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/xmlpatterns/schema/qxsdparticlechecker.cpp
r561 r846 345 345 bool XsdParticleChecker::isUPAConform(const XsdParticle::Ptr &particle, const NamePool::Ptr &namePool) 346 346 { 347 348 349 350 351 352 353 354 355 356 357 358 359 347 360 /** 348 361 * The algorithm is implemented like described in http://www.ltg.ed.ac.uk/~ht/XML_Europe_2003.html#S2.2 … … 412 425 } 413 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 414 444 return true; 415 445 } -
trunk/src/xmlpatterns/schema/qxsdparticlechecker_p.h
r561 r846 86 86 87 87 /** 88 89 90 91 92 93 94 88 95 * Checks whether the given @p particle subsumes the given @p derivedParticle. 89 96 * (http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict) -
trunk/src/xmlpatterns/schema/qxsdschemachecker_setup.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/src/xmlpatterns/schema/qxsdschemaparser.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 915 915 916 916 // 3) remove the base type resolving job from the resolver as 917 // we have set the base type here explicit ely917 // we have set the base type here explicitly 918 918 m_parserContext->resolver()->removeSimpleRestrictionBase(redefinedType); 919 919 … … 964 964 965 965 // 3) remove the base type resolving job from the resolver as 966 // we have set the base type here explicit ely966 // we have set the base type here explicitly 967 967 m_parserContext->resolver()->removeComplexBaseType(redefinedType); 968 968 … … 5782 5782 SchemaType::DerivationConstraints XsdSchemaParser::readDerivationConstraintAttribute(const SchemaType::DerivationConstraints &allowedConstraints, const char *elementName) 5783 5783 { 5784 // first convert the flags into strings for easier comparis ion5784 // first convert the flags into strings for easier comparison 5785 5785 QSet<QString> allowedContent; 5786 5786 if (allowedConstraints & SchemaType::RestrictionConstraint) … … 5845 5845 NamedSchemaComponent::BlockingConstraints XsdSchemaParser::readBlockingConstraintAttribute(const NamedSchemaComponent::BlockingConstraints &allowedConstraints, const char *elementName) 5846 5846 { 5847 // first convert the flags into strings for easier comparis ion5847 // first convert the flags into strings for easier comparison 5848 5848 QSet<QString> allowedContent; 5849 5849 if (allowedConstraints & NamedSchemaComponent::RestrictionConstraint) -
trunk/src/xmlpatterns/schema/qxsdschemaparser_setup.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 54 54 * XML parent tag occur in the right order. 55 55 * 56 * To validate the occur ence of XML tags one need a regular expression that describes56 * To validate the occurence of XML tags one need a regular expression that describes 57 57 * which tags can appear how often in what context. For example the regular expression 58 58 * of the global <em>attribute</em> tag in XML Schema is (annotation?, simpleType?). -
trunk/src/xmlpatterns/schema/qxsdstatemachine_p.h
r561 r846 139 139 * Continues execution of the machine with the given input @p transition. 140 140 * 141 * @return @c true if the transition was successful l, @c false otherwise.141 * @return @c true if the transition was successful, @c false otherwise. 142 142 */ 143 143 bool proceed(TransitionType transition); … … 155 155 * to find the right transition to use. 156 156 * 157 * @return @c true if the transition was successful l, @c false otherwise.157 * @return @c true if the transition was successful, @c false otherwise. 158 158 */ 159 159 template <typename InputType> -
trunk/src/xmlpatterns/schema/qxsdtypechecker.cpp
r561 r846 172 172 XsdTypeChecker::~XsdTypeChecker() 173 173 { 174 174 175 } 175 176
Note:
See TracChangeset
for help on using the changeset viewer.
