PureXML/Tests
Mihaela Mihaljevic de82800525 feat(schema): reject both default and fixed on one declaration (src-element.1/src-attribute.1)
An xs:element or xs:attribute declaration carrying both a default and a fixed
value constraint was accepted; XSD 1.0 src-element.1 / src-attribute.1 make the
two mutually exclusive. The check rides the existing value-constraint structure
walk, gated to XSD-namespace declarations and reading the unprefixed
default/fixed (a foreign same-local-name attribute is not the value
constraint). It is per declaration, so a default on a global declaration and a
fixed on a reference to it (two separate items) remains valid.

XSTS: invalid schemas accepted 479 to 469, no other bucket raised.
2026-06-15 13:25:14 +02:00
..
Fixtures feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof 2026-06-11 06:26:13 +02:00
C14NSpecExampleTests.swift feat(canonical): C14N 1.0 spec-example vectors, three conformance fixes 2026-06-10 08:51:47 +02:00
CanonicalC14N11Tests.swift
CanonicalPrefixRewriteTests.swift
CanonicalSelectionTests.swift
CanonicalSubsetTests.swift
CanonicalTests.swift
CatalogBaseURITests.swift
CatalogGroupPreferTests.swift
CatalogSGMLTests.swift
CatalogSuffixPreferTests.swift
CatalogTests.swift feat(validation): eduni errata behaviors, 3.3.3 attribute normalization 2026-06-10 07:50:47 +02:00
ConformanceCanonicalModesTests.swift
ConformanceCatalogTests.swift test(conformance): add an XML Catalog corpus 2026-06-10 04:44:45 +02:00
ConformanceCorpusTests.swift
ConformanceDTDTests.swift
ConformanceEmittingTests.swift test(conformance): serializer options and HTML depth corpora 2026-06-10 03:57:04 +02:00
ConformanceHTMLDepthTests.swift test(conformance): serializer options and HTML depth corpora 2026-06-10 03:57:04 +02:00
ConformanceRegexTests.swift fix(regex): use the XSD definition of \w and \W 2026-06-13 18:31:07 +02:00
ConformanceSchematronTests.swift
ConformanceXIncludeTests.swift test(conformance): add an XInclude/XPointer corpus 2026-06-10 04:40:16 +02:00
ConformanceXPathAxisTests.swift
ContentMatcherDifferentialTests.swift feat(schema): full NameAndTypeOK type derivation in element restriction 2026-06-14 13:47:18 +02:00
ContentModelDeterminismTests.swift feat(schema): enforce Unique Particle Attribution (cos-nonambig) 2026-06-14 09:35:33 +02:00
ContentNFAStateBudgetTests.swift feat(schema): full NameAndTypeOK type derivation in element restriction 2026-06-14 13:47:18 +02:00
DTDAttributeTests.swift
DTDConditionalNotationTests.swift
DTDDefaultingTests.swift
DTDEntityDeclaredTests.swift feat(parsing): IBM section clean, entity-declared WFC/VC split, declaration recursion 2026-06-10 07:26:50 +02:00
DTDIdentifierTests.swift
DTDLocatedContentTests.swift
DTDParameterEntityDepthTests.swift
DTDStandaloneTests.swift feat(validation): standalone validity constraints and entity WFC 2026-06-10 07:13:30 +02:00
DTDSubsetStrictnessTests.swift feat(validation): 3.3.3 attribute normalization, 4.3.1 text declarations, 4.4.5 PE char-refs 2026-06-10 06:43:25 +02:00
DTDTests.swift
DTDValidationTests.swift
DTDValidityConstraintTests.swift refactor(validation): located structured validity findings 2026-06-10 10:45:17 +02:00
EncodingMismatchTests.swift feat(parsing): fatal encoding-declaration contradictions, E38 version rule 2026-06-10 08:16:08 +02:00
EncodingTests.swift
EntityBaseURITests.swift feat(parsing): per-entity base-URI tracking for nested external entities 2026-06-10 08:24:17 +02:00
EntityResolverTests.swift feat(validation): eduni errata behaviors, 3.3.3 attribute normalization 2026-06-10 07:50:47 +02:00
EntitySplicingTests.swift feat(parsing): splice entity replacement markup into content 2026-06-10 06:55:40 +02:00
ErrataValidityTests.swift feat(validation): eduni errata behaviors, 3.3.3 attribute normalization 2026-06-10 07:50:47 +02:00
EXSLTTests.swift
HTMLAdoptionTests.swift
HTMLDocumentTests.swift
HTMLForeignContentTests.swift
HTMLFramesetTests.swift
HTMLSelectTests.swift
HTMLTests.swift feat(xslt): output methods in depth 2026-06-10 13:10:50 +02:00
HTMLTokenizerTests.swift
HTMLValidationTests.swift
LineEndingTests.swift
LintTests.swift
ModelTests.swift docs(model): TreeNode ownership and concurrency contracts 2026-06-10 03:46:44 +02:00
NamespaceConstraintTests.swift feat(parsing): Namespaces 1.0 constraint enforcement 2026-06-10 08:06:45 +02:00
NamespaceTests.swift
OutputEncodingTests.swift
ParityEdgeTests.swift
ParsingTests.swift perf(parsing): byte-backed Reader and bulk content runs 2026-06-10 18:48:57 +02:00
PatternTests.swift
PullPushDifferentialTests.swift refactor(validation): one shared childSteps; matcher and tokenizer differentials 2026-06-10 04:06:26 +02:00
PushParserTests.swift
QuickFixTests.swift
RecoveringReaderTests.swift
RegexCategoryTests.swift
RegexTests.swift fix(regex): use the XSD definition of \w and \W 2026-06-13 18:31:07 +02:00
RelaxNGCombineTests.swift feat(relaxng): schema-correctness validation, spec suite complete 2026-06-10 11:38:45 +02:00
RelaxNGCompactAnnotationTests.swift
RelaxNGCompactConcatTests.swift
RelaxNGCompactFollowAnnotationTests.swift
RelaxNGCompactParamTests.swift
RelaxNGCompactTests.swift
RelaxNGDataParamTests.swift
RelaxNGDatatypeLibraryTests.swift feat(relaxng): schema-correctness validation, spec suite complete 2026-06-10 11:38:45 +02:00
RelaxNGLocatedErrorTests.swift
RelaxNGNameClassTests.swift
RelaxNGQNameTests.swift feat(relaxng): QName values with dual-context resolution, instance level clean 2026-06-10 10:57:14 +02:00
RelaxNGSchemaCorrectnessTests.swift feat(relaxng): schema-correctness validation, spec suite complete 2026-06-10 11:38:45 +02:00
RelaxNGSpecSuiteTests.swift feat(relaxng): schema-correctness validation, spec suite complete 2026-06-10 11:38:45 +02:00
RelaxNGStreamingTests.swift
RelaxNGTests.swift
RelaxNGValueSpaceTests.swift
SaveOptionsTests.swift
SAXTests.swift
ScalarLexingTests.swift feat(parsing): scalar-level lexing, xmlconf archive fully conformant 2026-06-10 08:40:26 +02:00
SchemaAllGroupPlacementTests.swift fix(schema): reject an all-group referenced inside a compositor (cos-all-limited) 2026-06-15 12:38:30 +02:00
SchemaAttributeRefTests.swift fix(schema): resolve <xs:attribute ref> to global attribute declarations 2026-06-13 19:30:11 +02:00
SchemaAttributeUniquenessTests.swift fix(schema): enforce attribute-use uniqueness and the single-ID rule 2026-06-15 10:29:40 +02:00
SchemaCircularDerivationTests.swift fix(schema): reject circular model-group, attribute-group, and substitution-group references 2026-06-15 01:50:35 +02:00
SchemaConformanceTests.swift
SchemaContentOrderTests.swift feat(schema): enforce simpleContent derivation content order 2026-06-14 14:05:49 +02:00
SchemaDerivationControlTests.swift feat(schema): validate final/block derivation-control value space 2026-06-14 14:19:10 +02:00
SchemaDurationFacetTests.swift style(schema): satisfy swiftlint on the XSTS conformance additions 2026-06-13 18:04:25 +02:00
SchemaElementBlockTests.swift fix(schema): enforce element-level block against xsi:type substitution 2026-06-13 18:04:25 +02:00
SchemaFacetApplicabilityTests.swift feat(schema): enforce facet applicability to simple-type variety 2026-06-14 11:36:21 +02:00
SchemaFacetDefinitionTests.swift feat(schema): validate value-bound facet definitions; accept gMonth --MM-- 2026-06-13 22:10:57 +02:00
SchemaFuzzTests.swift test(schema): generative robustness fuzz harness for the schema engine and parser 2026-06-15 00:10:14 +02:00
SchemaIDAttributeTests.swift feat(schema): validate the id attribute (xs:ID) at compile time 2026-06-13 22:29:29 +02:00
SchemaIdentityXPathTests.swift feat(schema): validate identity-constraint selector/field XPath subset 2026-06-14 10:30:06 +02:00
SchemaIDIDREFTests.swift fix(schema): enforce document-scoped xs:ID uniqueness and xs:IDREF resolution 2026-06-13 19:17:34 +02:00
SchemaIDValueConstraintTests.swift fix(schema): an ID-derived attribute or element may not have a value constraint 2026-06-15 11:41:26 +02:00
SchemaListFacetTests.swift fix(schema): enforce document-scoped xs:ID uniqueness and xs:IDREF resolution 2026-06-13 19:17:34 +02:00
SchemaMixedEmptyTests.swift fix(schema): allow character data in a mixed type with no content model 2026-06-13 19:37:24 +02:00
SchemaMultiDocumentTests.swift feat(schema): honor instance xsi:schemaLocation for multi-document validation 2026-06-13 19:54:12 +02:00
SchemaNameUniquenessTests.swift feat(schema): resolve keyref refer to a declared key or unique 2026-06-14 08:04:34 +02:00
SchemaPatternFacetTests.swift feat(schema): validate pattern facet regular expressions at compile time 2026-06-13 23:52:11 +02:00
SchemaQNameLengthTests.swift fix(schema): treat QName length facets as non-constraining 2026-06-13 18:04:25 +02:00
SchemaReferenceTests.swift feat(schema): reject unresolvable references at compile time 2026-06-14 00:17:29 +02:00
SchemaStringWhitespaceTests.swift fix(schema): preserve significant whitespace in simple-content values 2026-06-13 20:08:08 +02:00
SchemaStructureTests.swift feat(schema): a simpleType must have exactly one of restriction/list/union 2026-06-14 14:30:25 +02:00
SchemaSubstitutionBlockTests.swift fix(schema): enforce block="substitution" on substitution-group heads 2026-06-13 18:31:07 +02:00
SchemaSubstitutionTypeTests.swift feat(schema): substitution member type must derive from head (e-props-correct.4) 2026-06-15 13:08:38 +02:00
SchematronAbstractPatternTests.swift
SchematronAbstractTests.swift
SchematronDiagnosticTests.swift
SchematronDynamicTests.swift
SchematronFunctionTests.swift
SchematronLetTests.swift
SchematronScopedLetTests.swift
SchematronTests.swift
SchemaTypeExclusivityTests.swift fix(schema): a type attribute and an inline anonymous type are mutually exclusive 2026-06-15 11:02:48 +02:00
SchemaUnionFacetTests.swift style(schema): satisfy swiftlint on the XSTS conformance additions 2026-06-13 18:04:25 +02:00
SchemaValueConstraintExclusionTests.swift feat(schema): reject both default and fixed on one declaration (src-element.1/src-attribute.1) 2026-06-15 13:25:14 +02:00
SchemaValueConstraintTests.swift fix(schema): honor empty-element default/fixed values and replace enumeration on restriction 2026-06-13 18:04:25 +02:00
SchemaValueConstraintValidityTests.swift feat(schema): validate built-in-typed default/fixed values 2026-06-14 11:55:55 +02:00
SchemaWildcardNamespaceTests.swift feat(schema): validate wildcard namespace constraint value space 2026-06-14 11:00:45 +02:00
SerializationEscapeTests.swift
SerializationOptionsTests.swift
SerializerTests.swift
SourceSpanTests.swift
StreamingDTDValidationTests.swift
StreamingXSDTests.swift
StrictRecoveringDifferentialTests.swift test(parsing): strict-vs-recovering differential corpus 2026-06-10 03:49:57 +02:00
StrictSubsetProfileTests.swift feat(parsing): strict internal-subset profile, xmltest 185 of 186 2026-06-10 08:29:54 +02:00
TextReaderBreadthTests.swift
TextReaderTests.swift
TreeNodeEditingTests.swift
TreeNodeIdentityTests.swift
TreeNodeTests.swift
ValidationFrameworkTests.swift
ValidationRuleTests.swift
ValidationTests.swift
W3CEduniSuiteTests.swift feat(parsing): scalar-level lexing, xmlconf archive fully conformant 2026-06-10 08:40:26 +02:00
W3CIBMSuiteTests.swift feat(parsing): scalar-level lexing, xmlconf archive fully conformant 2026-06-10 08:40:26 +02:00
W3CJapaneseSuiteTests.swift test(conformance): japanese section runner, fully clean 2026-06-10 07:30:30 +02:00
W3COasisSuiteTests.swift feat(parsing): strict DTD subset grammar, oasis section of xmlconf fully clean 2026-06-10 06:29:13 +02:00
W3CSunSuiteTests.swift feat(validation): standalone validity constraints and entity WFC 2026-06-10 07:13:30 +02:00
W3CXMLSuiteTests.swift feat(parsing): scalar-level lexing, xmlconf archive fully conformant 2026-06-10 08:40:26 +02:00
WriterTests.swift
XalanConfSuiteTests.swift feat(xslt): top-level stylesheet parameters 2026-06-10 17:35:11 +02:00
XIncludeNegotiationTests.swift
XIncludeTests.swift
XMLCharacterTests.swift
XMLDeclarationTests.swift
XPathAxisTests.swift
XPathContextTests.swift
XPathExpressionTests.swift
XPathFunctionTests.swift
XPathNamespaceTests.swift
XPathTests.swift
XPointerRangeTests.swift
XPointerTests.swift
XSDCategoryTests.swift feat(schema): full NameAndTypeOK type derivation in element restriction 2026-06-14 13:47:18 +02:00
XSDCompletionTests2.swift
XSDComplexTypeTests.swift feat(schema): full NameAndTypeOK type derivation in element restriction 2026-06-14 13:47:18 +02:00
XSDCompositionTests.swift
XSDDatatypeTests.swift feat(schema): validate value-bound facet definitions; accept gMonth --MM-- 2026-06-13 22:10:57 +02:00
XSDDerivationControlTests.swift
XSDIdentityTests.swift feat(schema): validate identity-constraint selector/field XPath subset 2026-06-14 10:30:06 +02:00
XSDImportTests.swift
XSDLocatedContentTests.swift feat(schema): full NameAndTypeOK type derivation in element restriction 2026-06-14 13:47:18 +02:00
XSDNamespaceTests.swift
XSDParticleRestrictionTests.swift fix(schema): resolve element-ref namespaces by prefix binding, not target namespace 2026-06-14 17:50:26 +02:00
XSDRestrictionContentFreeOrderTests.swift fix(schema): implement MapAndSum (sequence restricting a choice) in particle restriction 2026-06-14 23:46:37 +02:00
XSDSchemaTests.swift
XSDSchemaValidationTests.swift feat(schema): full NameAndTypeOK type derivation in element restriction 2026-06-14 13:47:18 +02:00
XSDTypeResolutionTests.swift
XSDValueConstraintTests.swift
XSDWildcardTests.swift
XSLTApplyImportsTests.swift
XSLTAttributeSetTests.swift
XSLTCDATASectionTests.swift
XSLTCompositionTests.swift fix(xslt): composition cycles terminate; id() gains a per-document index 2026-06-10 18:07:02 +02:00
XSLTCreatedNamesTests.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTDecimalFormatTests.swift fix(xslt): no fatal traps on extreme format-number and xsl:number values 2026-06-10 15:35:36 +02:00
XSLTDoctypeOutputTests.swift
XSLTDocumentFunctionTests.swift
XSLTFallbackTests.swift
XSLTFunctionTests.swift
XSLTHTMLOutputTests.swift
XSLTKeyNodeSetTests.swift
XSLTMatchCacheTests.swift
XSLTMessageTests.swift
XSLTNamespaceAliasTests.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTNumberingTests.swift fix(xslt): no fatal traps on extreme format-number and xsl:number values 2026-06-10 15:35:36 +02:00
XSLTOutputMethodTests.swift feat(xslt): global variable scope and precedence, NCName:* name tests 2026-06-10 16:38:03 +02:00
XSLTParityTests.swift feat(xslt): output methods in depth 2026-06-10 13:10:50 +02:00
XSLTParserTests.swift feat(xslt): output methods in depth 2026-06-10 13:10:50 +02:00
XSLTResultFragmentTests.swift
XSLTSortCaseOrderTests.swift
XSLTTests.swift feat(xslt): output methods in depth 2026-06-10 13:10:50 +02:00
XSLTWhitespaceTests.swift
XSTSSuiteTests.swift feat(schema): reject both default and fixed on one declaration (src-element.1/src-attribute.1) 2026-06-15 13:25:14 +02:00