Commit Graph

2 Commits

Author SHA1 Message Date
d2438a957a fix(schema): require a list or union to declare its member types (#145)
A list simple type must draw its item type from exactly one of an itemType
attribute or an inline simpleType child; neither, or both, is invalid. A union
must declare at least one member type through a memberTypes attribute or an
inline simpleType child; an empty union declares none (src-simple-type.2/.3).

XSTS invalid-schemas-accepted 215 to 214, no other bucket moved.
2026-06-17 14:11:26 +02:00
614209e9c1 fix(schema): enforce variety constraints on list itemType and union memberTypes 2026-06-15 20:01:51 +02:00