Editorial question55.8K views4,162 votes0 answers3,194 following
AI-generatedXML Schema minOccurs=0 maxOccurs>1 absent element validation behavior
When defining an optional repeating element in XML Schema with minOccurs="0" and maxOccurs="2" (or unbounded ), the specification states the element may appear zero or more times. However, the spec does not explicitly clarify whether an entirely absent element satisfies the maxOccurs constraint when its value exceeds one. Validation results differ across pro