The attribute-model sibling of the structural content-model check, folded into the same schema-document walk. Enumerated attributes (form, elementFormDefault, attributeFormDefault, use, processContents, mixed, abstract, nillable) and the occurrence attributes (minOccurs a nonNegativeInteger, maxOccurs a nonNegativeInteger or unbounded) are checked against their fixed value space. An out-of-space value (use="foo", mixed="yes", minOccurs="-1") was previously ignored and the schema accepted. Each of these names has one meaning throughout XSD, so checking by local name is safe. Only unprefixed attributes on XSD-namespace elements are checked, so a foreign attribute is never flagged; values are trimmed before comparison. XSTS: invalid schemas accepted 1313 to 1190 (-123); valid schemas rejected held at 72 (no over-rejection); instance buckets unchanged. |
||
|---|---|---|
| .. | ||
| BuiltinType.swift | ||
| ComplexType.swift | ||
| ComplexValidator.swift | ||
| ComplexValidatorDerivation.swift | ||
| ComplexValidatorHelpers.swift | ||
| ComplexValidatorIDs.swift | ||
| ComplexValidatorStreaming.swift | ||
| ComplexValidatorXSIType.swift | ||
| ContentMatcher.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 | ||
| SchemaDocument.swift | ||
| SchemaIDAttribute.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 | ||