PureXML/Sources
Mihaela Mihaljevic c3876a261f fix(schema): check RecurseAsIfGroup occurrence in particle restriction (#145)
An element restricting a base model group is treated as a synthetic group with
minOccurs=maxOccurs=1 holding the element (XSD 1.0 sec 3.9.6), so its {1,1}
occurrence must be within the base group's range: a base group that must occur
two or more times cannot be restricted to a single element. The element's own
occurrence is still matched against the base branch it maps to, so an optional
element restricting a once-or-more base group stays valid.

XSTS invalid-schemas-accepted 181 to 179, no other bucket moved.
2026-06-17 16:34:09 +02:00
..
Canonical
Catalog
Emitting
HTML
Model
Parsing
Pattern
Regex
Schema fix(schema): check RecurseAsIfGroup occurrence in particle restriction (#145) 2026-06-17 16:34:09 +02:00
Stream
Validation
XInclude
XPath
XPointer
XSLT
API.swift
Lint.swift
PureXML.swift
QuickFix.swift