A restriction or extension inside complexContent has the content model (annotation?, (group|all|choice|sequence)?, (attribute|attributeGroup)*, anyAttribute?). The allowedChildren membership table admitted the right child names but not their order or cardinality, so a second model group, a model group after an attribute, an attribute after anyAttribute, or a second anyAttribute was accepted. A forward-only walk matches the children against an ordered slot model (one model group, unbounded attributes, one anyAttribute). The check runs only in the complexContent context, where a model group belongs to the model, so a simpleContent derivation (facets, no model group) keeps its own rules and no valid schema is rejected. XSTS: invalid schemas accepted 864 to 785, valid schemas rejected held at 72, instance buckets unchanged. |
||
|---|---|---|
| .. | ||
| BuiltinType.swift | ||
| ComplexType.swift | ||
| ComplexValidator.swift | ||
| ComplexValidatorDerivation.swift | ||
| ComplexValidatorHelpers.swift | ||
| ComplexValidatorIDs.swift | ||
| ComplexValidatorStreaming.swift | ||
| ComplexValidatorXSIType.swift | ||
| ContentMatcher.swift | ||
| ContentModelDeterminism.swift | ||
| DateTimeParser.swift | ||
| DateTimeValue.swift | ||
| DecimalValue.swift | ||
| DerivationMethod.swift | ||
| DurationValue.swift | ||
| IdentityConstraint.swift | ||
| IdentityValidator.swift | ||
| IDTracker.swift | ||
| Lexical.swift | ||
| ParticleRestriction.swift | ||
| Primitive.swift | ||
| RelaxNGCompactHelpers.swift | ||
| RelaxNGCompactLexer.swift | ||
| RelaxNGCompactParser.swift | ||
| RelaxNGContentType.swift | ||
| RelaxNGDerivative.swift | ||
| RelaxNGDiagnostics.swift | ||
| RelaxNGFacets.swift | ||
| RelaxNGGrammarCheck.swift | ||
| RelaxNGGrammarCheckSections.swift | ||
| RelaxNGNameClasses.swift | ||
| RelaxNGNode.swift | ||
| RelaxNGParser.swift | ||
| RelaxNGParserIncludes.swift | ||
| RelaxNGPattern.swift | ||
| RelaxNGRestrictionChecker.swift | ||
| RelaxNGRestrictionOverlap.swift | ||
| RelaxNGRestrictionPaths.swift | ||
| RelaxNGRestrictions.swift | ||
| RelaxNGSchema.swift | ||
| SchemaContentOrder.swift | ||
| SchemaDocument.swift | ||
| SchemaIDAttribute.swift | ||
| SchemaNameUniqueness.swift | ||
| SchemaReferences.swift | ||
| SchemaStructure.swift | ||
| SimpleType.swift | ||
| StreamingXSDValidator.swift | ||
| TypeDerivation.swift | ||
| XSDAttributeParser.swift | ||
| XSDCompletions.swift | ||
| XSDComplexContent.swift | ||
| XSDContext.swift | ||
| XSDDerivation.swift | ||
| XSDParser.swift | ||
| XSDSchemaValidations.swift | ||
| XSDSimpleParser.swift | ||
| XSDValidations.swift | ||
| XSDWildcardParser.swift | ||